Class: Nero::Deferred

Inherits:
Object
  • Object
show all
Defined in:
lib/nero/deferred.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag, args) ⇒ Deferred

Returns a new instance of Deferred.



7
# File 'lib/nero/deferred.rb', line 7

def initialize(tag, args) = (@tag, @args = tag, args)

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



5
6
7
# File 'lib/nero/deferred.rb', line 5

def args
  @args
end

#tagObject (readonly)

Returns the value of attribute tag.



5
6
7
# File 'lib/nero/deferred.rb', line 5

def tag
  @tag
end