Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix values_for

  • Loading branch information...
commit 1ab313137436797487897a77f3235689353f40d5 1 parent d5dd262
@aduffeck aduffeck authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bitmask_attributes/definition.rb
View
4 lib/bitmask_attributes/definition.rb
@@ -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
@@ -151,4 +151,4 @@ def create_scopes_on(model)
end
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.