Class: JsonDumper::Delayed
- Inherits:
-
Object
- Object
- JsonDumper::Delayed
- Defined in:
- lib/json_dumper/delayed.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#entity ⇒ Object
Returns the value of attribute entity.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#method_name ⇒ Object
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(method_name, entity, args, klass) ⇒ Delayed
constructor
A new instance of Delayed.
Constructor Details
#initialize(method_name, entity, args, klass) ⇒ Delayed
Returns a new instance of Delayed.
5 6 7 8 9 10 |
# File 'lib/json_dumper/delayed.rb', line 5 def initialize(method_name, entity, args, klass) self.method_name = method_name self.entity = entity self.args = args self.klass = klass end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
3 4 5 |
# File 'lib/json_dumper/delayed.rb', line 3 def args @args end |
#entity ⇒ Object
Returns the value of attribute entity.
3 4 5 |
# File 'lib/json_dumper/delayed.rb', line 3 def entity @entity end |
#klass ⇒ Object
Returns the value of attribute klass.
3 4 5 |
# File 'lib/json_dumper/delayed.rb', line 3 def klass @klass end |
#method_name ⇒ Object
Returns the value of attribute method_name.
3 4 5 |
# File 'lib/json_dumper/delayed.rb', line 3 def method_name @method_name end |