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

Returns a new instance of CallNode.



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

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.



25
26
27
# File 'lib/smart_todo/todo.rb', line 25

def arguments
  @arguments
end

#locationObject (readonly)

Returns the value of attribute location.



25
26
27
# File 'lib/smart_todo/todo.rb', line 25

def location
  @location
end

#method_nameObject (readonly)

Returns the value of attribute method_name.



25
26
27
# File 'lib/smart_todo/todo.rb', line 25

def method_name
  @method_name
end