Class: Ruboty::Todo::Actions::Base

Inherits:
Actions::Base
  • Object
show all
Defined in:
lib/ruboty/todo/actions/base.rb

Direct Known Subclasses

Add, List, State

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#todo_listObject (readonly)

Returns the value of attribute todo_list.



5
6
7
# File 'lib/ruboty/todo/actions/base.rb', line 5

def todo_list
  @todo_list
end

Instance Method Details

#callObject



7
8
9
# File 'lib/ruboty/todo/actions/base.rb', line 7

def call
  @todo_list = ::Ruboty::Todo::List.new(message.robot.brain)
end