Class: EM::PG::Query
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#method ⇒ Object
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(method, args) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(method, args) ⇒ Query
Returns a new instance of Query.
58 59 60 |
# File 'lib/em/pg.rb', line 58 def initialize(method, args) @method, @args = method, args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
57 58 59 |
# File 'lib/em/pg.rb', line 57 def args @args end |
#method ⇒ Object
Returns the value of attribute method.
57 58 59 |
# File 'lib/em/pg.rb', line 57 def method @method end |