Class: Monoz::Services::BaseService

Inherits:
Object
  • Object
show all
Includes:
Thor::Shell
Defined in:
lib/monoz/services/base_service.rb

Direct Known Subclasses

ActionService, BundleService, InitService, RunService

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(thor_instance) ⇒ BaseService

Returns a new instance of BaseService.



11
12
13
# File 'lib/monoz/services/base_service.rb', line 11

def initialize(thor_instance)
  @thor = thor_instance
end

Class Method Details

.call(path) ⇒ Object



16
17
18
# File 'lib/monoz/services/base_service.rb', line 16

def call(path)
  new(path).call
end