Class: SmartTodo::Todo::CallNode

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_todo/todo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name, arguments, location) ⇒ CallNode



29
30
31
32
33
# File 'lib/smart_todo/todo.rb', line 29

def initialize(method_name, arguments, location)
  @arguments = arguments
  @method_name = method_name
  @location = location
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



27
28
29
# File 'lib/smart_todo/todo.rb', line 27

def arguments
  @arguments
end

#locationObject (readonly)

Returns the value of attribute location.



27
28
29
# File 'lib/smart_todo/todo.rb', line 27

def location
  @location
end

#method_nameObject (readonly)

Returns the value of attribute method_name.



27
28
29
# File 'lib/smart_todo/todo.rb', line 27

def method_name
  @method_name
end