Class: SandiMeter::MethodCall
- Inherits:
-
Object
- Object
- SandiMeter::MethodCall
- Defined in:
- lib/sandi_meter/sandi_meter/method_call.rb
Instance Attribute Summary collapse
-
#first_line ⇒ Object
Returns the value of attribute first_line.
-
#number_of_arguments ⇒ Object
Returns the value of attribute number_of_arguments.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ MethodCall
constructor
A new instance of MethodCall.
Constructor Details
#initialize(params = {}) ⇒ MethodCall
Returns a new instance of MethodCall.
5 6 7 8 9 |
# File 'lib/sandi_meter/sandi_meter/method_call.rb', line 5 def initialize(params = {}) params.each do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#first_line ⇒ Object
Returns the value of attribute first_line.
3 4 5 |
# File 'lib/sandi_meter/sandi_meter/method_call.rb', line 3 def first_line @first_line end |
#number_of_arguments ⇒ Object
Returns the value of attribute number_of_arguments.
3 4 5 |
# File 'lib/sandi_meter/sandi_meter/method_call.rb', line 3 def number_of_arguments @number_of_arguments end |
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/sandi_meter/sandi_meter/method_call.rb', line 3 def path @path end |