Class: Super::Filter::SchemaTypes::Select
- Inherits:
-
Object
- Object
- Super::Filter::SchemaTypes::Select
- Defined in:
- lib/super/filter/schema_types.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
readonly
Returns the value of attribute collection.
-
#operators ⇒ Object
readonly
Returns the value of attribute operators.
Instance Method Summary collapse
-
#initialize(collection:, operators:) ⇒ Select
constructor
A new instance of Select.
- #q ⇒ Object
- #to_partial_path ⇒ Object
Constructor Details
#initialize(collection:, operators:) ⇒ Select
Returns a new instance of Select.
62 63 64 65 |
# File 'lib/super/filter/schema_types.rb', line 62 def initialize(collection:, operators:) @collection = collection @operators = operators end |
Instance Attribute Details
#collection ⇒ Object (readonly)
Returns the value of attribute collection.
67 68 69 |
# File 'lib/super/filter/schema_types.rb', line 67 def collection @collection end |
#operators ⇒ Object (readonly)
Returns the value of attribute operators.
68 69 70 |
# File 'lib/super/filter/schema_types.rb', line 68 def operators @operators end |
Instance Method Details
#q ⇒ Object
74 75 76 |
# File 'lib/super/filter/schema_types.rb', line 74 def q [:q] end |
#to_partial_path ⇒ Object
70 71 72 |
# File 'lib/super/filter/schema_types.rb', line 70 def to_partial_path "filter_type_select" end |