Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 from SUSE/fix_values_for
Browse files Browse the repository at this point in the history
fix values_for
  • Loading branch information
joelmoss committed Feb 5, 2012
2 parents ab4bfda + 1ab3131 commit 3d70e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bitmask_attributes/definition.rb
Expand Up @@ -65,7 +65,7 @@ def #{attribute}=(raw_value)
def create_attribute_methods_on(model)
model.class_eval %(
def self.values_for_#{attribute} # def self.values_for_numbers
#{values} # [:one, :two, :three]
#{values.inspect} # [:one, :two, :three]
end # end
)
end
Expand Down

0 comments on commit 3d70e03

Please sign in to comment.