Class: Plutonium::Query::Filter
- Defined in:
- lib/plutonium/query/filter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key:) ⇒ Filter
constructor
A new instance of Filter.
Methods inherited from Base
Methods included from Definition::Presentable
Constructor Details
#initialize(key:) ⇒ Filter
Returns a new instance of Filter.
6 7 8 9 |
# File 'lib/plutonium/query/filter.rb', line 6 def initialize(key:) super() @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
4 5 6 |
# File 'lib/plutonium/query/filter.rb', line 4 def key @key end |