Class: Nero::Deferred
- Inherits:
-
Object
- Object
- Nero::Deferred
- Defined in:
- lib/nero/deferred.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(tag, args) ⇒ Deferred
constructor
A new instance of Deferred.
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
#args ⇒ Object (readonly)
Returns the value of attribute args.
5 6 7 |
# File 'lib/nero/deferred.rb', line 5 def args @args end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
5 6 7 |
# File 'lib/nero/deferred.rb', line 5 def tag @tag end |