Class: Durt::Command::Filter

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

#initializeFilter

Returns a new instance of Filter.



65
66
67
68
69
70
# File 'lib/durt/command.rb', line 65

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

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