Class: EM::PG::Query

Inherits:
Object
  • Object
show all
Includes:
Deferrable
Defined in:
lib/em/pg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject

Returns the value of attribute args.



57
58
59
# File 'lib/em/pg.rb', line 57

def args
  @args
end

#methodObject

Returns the value of attribute method.



57
58
59
# File 'lib/em/pg.rb', line 57

def method
  @method
end