Class: JsonDumper::Delayed

Inherits:
Object
  • Object
show all
Defined in:
lib/json_dumper/delayed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#entityObject

Returns the value of attribute entity.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def entity
  @entity
end

#klassObject

Returns the value of attribute klass.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def klass
  @klass
end

#method_nameObject

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_argsObject

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_argsObject

Returns the value of attribute positional_args.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def positional_args
  @positional_args
end