lib/glue/attribute.rb in glue-0.13.0 vs lib/glue/attribute.rb in glue-0.14.0

- old
+ new

@@ -9,10 +9,13 @@ # instance attributes. Aliases for classes are also provided. # # Example: # # mattr_accessor :my_attr, 'Default value' +# +# FIXME: I think those methods do *not* work as expected. #++ + class Module # :nodoc: def mattr_reader(*params) default = if params.last.is_a?(Symbol) then nil else params.pop end