Class: Durt::Command::SelectIssue

Inherits:
Service
  • Object
show all
Defined in:
lib/durt/command.rb

Instance Attribute Summary

Attributes inherited from Service

#result, #state

Instance Method Summary collapse

Methods inherited from Service

call, #call

Constructor Details

#initializeSelectIssue

Returns a new instance of SelectIssue.



85
86
87
88
89
90
# File 'lib/durt/command.rb', line 85

def initialize
  project = Durt::Project.current_project
  controller = Durt::ProjectController.new(project)

  steps << ->(_) { controller.select_issue }
end