Class: Durt::Command::Memo
Instance Attribute Summary
Attributes inherited from Service
Instance Method Summary collapse
-
#initialize ⇒ Memo
constructor
A new instance of Memo.
Methods inherited from Service
Constructor Details
#initialize ⇒ Memo
Returns a new instance of Memo.
74 75 76 77 78 79 80 81 |
# File 'lib/durt/command.rb', line 74 def initialize project = Durt::Project.current_project controller = Durt::ProjectController.new(project) steps << ->(_) { controller.sync_issues } steps << ->(_) { controller.select_issue } steps << ->(issue) { controller.enter_issue(issue) } end |