Class: SearchCopGrammar::Attributes::Integer
- Inherits:
-
Float
- Object
- Base
- WithoutMatches
- Float
- SearchCopGrammar::Attributes::Integer
- Defined in:
- lib/search_cop_grammar/attributes.rb
Instance Attribute Summary
Attributes inherited from Base
#attribute, #column_name, #field_names, #options, #table_alias
Instance Method Summary collapse
Methods inherited from Float
Methods inherited from WithoutMatches
Methods inherited from Base
#compatible?, #fulltext?, #initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from SearchCopGrammar::Attributes::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SearchCopGrammar::Attributes::Base
Instance Method Details
#map(value) ⇒ Object
207 208 209 |
# File 'lib/search_cop_grammar/attributes.rb', line 207 def map(value) value.to_i end |