Skip to content

Commit

Permalink
Avoid deprecation warning when using default_framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
slainer68 authored and Sutto committed Dec 10, 2010
1 parent 4e9fce4 commit 4f1375a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/barista/framework.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Barista
class Framework

def self.default_framework
@default_framework ||= self.new("default", Barista.root)
@default_framework ||= self.new(:name => "default", :root => Barista.root)
end

def self.default_framework=(value)
Expand Down

0 comments on commit 4f1375a

Please sign in to comment.