lib/representable/definition.rb in representable-2.2.3 vs lib/representable/definition.rb in representable-2.3.0
- old
+ new
@@ -8,10 +8,9 @@
attr_reader :name
alias_method :getter, :name
def initialize(sym, options={}, &block)
- @options = {}
@options = Cloneable::Hash.new # allows deep cloning. we then had to set Pipeline cloneable.
@name = sym.to_s
options = options.clone
# defaults: