diff --git a/lib/comma/object.rb b/lib/comma/object.rb index 83cad11..93a06ee 100644 --- a/lib/comma/object.rb +++ b/lib/comma/object.rb @@ -1,5 +1,5 @@ class Object - class_inheritable_accessor :comma_formats + class_attribute :comma_formats def self.comma(style = :default, &block) (self.comma_formats ||= {})[style] = block