Class: Super::Filter::SchemaTypes::Text

Inherits:
Object
  • Object
show all
Defined in:
lib/super/filter/schema_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#operatorsObject (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

#qObject



56
57
58
# File 'lib/super/filter/schema_types.rb', line 56

def q
  [:q]
end

#to_partial_pathObject



52
53
54
# File 'lib/super/filter/schema_types.rb', line 52

def to_partial_path
  @partial_path
end