lib/rake/funnel/support/mapper.rb in rake-funnel-0.11.0.pre vs lib/rake/funnel/support/mapper.rb in rake-funnel-0.12.0.pre
- old
+ new
@@ -8,10 +8,10 @@
class Mapper
include ArgumentMapper
include InstantiateSymbol
instantiate Styles
- def initialize(style = :Default)
+ def initialize(style = :default)
raise "You cannot use the 'nil' mapper style. Available mappers are: #{available.inspect}" if style.nil?
@style = create(style)
end