lib/selectable_attr/enum.rb in akm-selectable_attr-0.3.3 vs lib/selectable_attr/enum.rb in akm-selectable_attr-0.3.4

- old
+ new

@@ -145,10 +145,10 @@ def null_object? self.null? end def to_hash - (@options || {}).merge(:id => @id, :key => @key, :name => @name) + (@options || {}).merge(:id => @id, :key => @key, :name => name) end NULL = new(nil, nil, nil, nil) do def null?; true; end def name; nil; end