Class: SandiMeter::MethodCall

Inherits:
Object
  • Object
show all
Defined in:
lib/sandi_meter/sandi_meter/method_call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_lineObject

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_argumentsObject

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

#pathObject

Returns the value of attribute path


3
4
5
# File 'lib/sandi_meter/sandi_meter/method_call.rb', line 3

def path
  @path
end