Class: Reac::Call

Inherits:
Reac
  • Object
show all
Defined in:
lib/reac.rb

Instance Attribute Summary collapse

Attributes inherited from Reac

#last_update

Instance Method Summary collapse

Methods inherited from Reac

#method_missing, #value, value

Constructor Details

#initialize(receiver, method, args) ⇒ Call

Returns a new instance of Call.



61
62
63
# File 'lib/reac.rb', line 61

def initialize(receiver, method, args)
  @receiver, @method, @args = receiver, method, args
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Reac

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



65
66
67
# File 'lib/reac.rb', line 65

def args
  @args
end

#dataObject

Returns the value of attribute data.



64
65
66
# File 'lib/reac.rb', line 64

def data
  @data
end

#methodObject (readonly)

Returns the value of attribute method.



65
66
67
# File 'lib/reac.rb', line 65

def method
  @method
end

#receiverObject (readonly)

Returns the value of attribute receiver.



65
66
67
# File 'lib/reac.rb', line 65

def receiver
  @receiver
end