Class: Super::Filter::SchemaTypes::Timestamp

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operators:) ⇒ Timestamp

Returns a new instance of Timestamp.



80
81
82
# File 'lib/super/filter/schema_types.rb', line 80

def initialize(operators:)
  @operators = operators
end

Instance Attribute Details

#operatorsObject (readonly)

Returns the value of attribute operators.



84
85
86
# File 'lib/super/filter/schema_types.rb', line 84

def operators
  @operators
end

Instance Method Details

#qObject



90
91
92
# File 'lib/super/filter/schema_types.rb', line 90

def q
  [:q0, :q1]
end

#to_partial_pathObject



86
87
88
# File 'lib/super/filter/schema_types.rb', line 86

def to_partial_path
  "filter_type_timestamp"
end