class ConsoleTodoOutputPort

Defined in:

adapters/console_output.cr

Constructors

Instance Method Summary

Instance methods inherited from class TodoOutputPort

display_todo_completed(todo : Todo) : Nil display_todo_completed, display_todo_created(todo : Todo) : Nil display_todo_created, display_todo_details(todo : Todo) : Nil display_todo_details, display_todos(todos : Array(Todo)) : Nil display_todos

Constructor Detail

def self.new(io : IO = STDOUT) #

[View source]

Instance Method Detail

def display_todo_completed(todo : Todo) : Nil #

[View source]
def display_todo_created(todo : Todo) : Nil #

[View source]
def display_todo_details(todo : Todo) : Nil #

[View source]
def display_todos(todos : Array(Todo)) : Nil #

[View source]
def io : IO #

[View source]