Class: Store::Query
- Inherits:
-
Object
- Object
- Store::Query
- Defined in:
- lib/store/query.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#entity ⇒ Object
readonly
Returns the value of attribute entity.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(entity, name, *args) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(entity, name, *args) ⇒ Query
Returns a new instance of Query.
5 6 7 8 9 |
# File 'lib/store/query.rb', line 5 def initialize(entity, name, *args) @entity = entity @name = name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/store/query.rb', line 3 def args @args end |
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
3 4 5 |
# File 'lib/store/query.rb', line 3 def entity @entity end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/store/query.rb', line 3 def name @name end |