Class: ListsConstant::Lookups::Instance
- Inherits:
-
Module
- Object
- Module
- ListsConstant::Lookups::Instance
- Defined in:
- lib/lists_constant/lookups/instance.rb
Instance Method Summary collapse
- #included(base) ⇒ Object
-
#initialize(field, values) ⇒ Instance
constructor
A new instance of Instance.
Constructor Details
#initialize(field, values) ⇒ Instance
7 8 9 10 11 12 |
# File 'lib/lists_constant/lookups/instance.rb', line 7 def initialize field, values @field = field @values = values super() end |
Instance Method Details
#included(base) ⇒ Object
14 15 16 17 |
# File 'lib/lists_constant/lookups/instance.rb', line 14 def included base add_localized_lookups base add_query_methods base end |