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.



54
55
56
# File 'lib/em/pg.rb', line 54

def initialize(method, args)
  @method, @args = method, args
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



53
54
55
# File 'lib/em/pg.rb', line 53

def args
  @args
end

#methodObject

Returns the value of attribute method.



53
54
55
# File 'lib/em/pg.rb', line 53

def method
  @method
end