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