Class: Super::Filter::SchemaTypes::Text
- Inherits:
-
Object
- Object
- Super::Filter::SchemaTypes::Text
- Defined in:
- lib/super/filter/schema_types.rb
Instance Attribute Summary collapse
-
#operators ⇒ Object
readonly
Returns the value of attribute operators.
Instance Method Summary collapse
-
#initialize(partial_path:, operators:) ⇒ Text
constructor
A new instance of Text.
- #q ⇒ Object
- #to_partial_path ⇒ Object
Constructor Details
#initialize(partial_path:, operators:) ⇒ Text
Returns a new instance of Text.
45 46 47 48 |
# File 'lib/super/filter/schema_types.rb', line 45 def initialize(partial_path:, operators:) @partial_path = partial_path @operators = operators end |
Instance Attribute Details
#operators ⇒ Object (readonly)
Returns the value of attribute operators.
50 51 52 |
# File 'lib/super/filter/schema_types.rb', line 50 def operators @operators end |
Instance Method Details
#q ⇒ Object
56 57 58 |
# File 'lib/super/filter/schema_types.rb', line 56 def q [:q] end |
#to_partial_path ⇒ Object
52 53 54 |
# File 'lib/super/filter/schema_types.rb', line 52 def to_partial_path @partial_path end |