Class: ThinService::Service

Inherits:
Object
  • Object
show all
Defined in:
lib/thin_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Service

Returns a new instance of Service.



6
7
8
# File 'lib/thin_service.rb', line 6

def initialize( args )
  @args = args
end

Instance Method Details

#run!Object



10
11
12
# File 'lib/thin_service.rb', line 10

def run!
  ThinService::Command::Registry.new.run(  @args )
end