lib/maestrano/preset.rb in maestrano-0.12.0 vs lib/maestrano/preset.rb in maestrano-0.12.1
- old
+ new
@@ -9,10 +9,10 @@
base.extend ClassMethods
end
module ClassMethods
def [](preset)
- define_singleton_method(:preset) { preset }
+ define_singleton_method(:preset) { preset || 'default' }
self
end
def preset
'default'
\ No newline at end of file