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.
54 55 56 |
# File 'lib/em/pg.rb', line 54 def initialize(method, args) @method, @args = method, args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
53 54 55 |
# File 'lib/em/pg.rb', line 53 def args @args end |
#method ⇒ Object
Returns the value of attribute method.
53 54 55 |
# File 'lib/em/pg.rb', line 53 def method @method end |