Class: ThinService::Service
- Inherits:
-
Object
- Object
- ThinService::Service
- Defined in:
- lib/thin_service.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Service
constructor
A new instance of Service.
- #run! ⇒ Object
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 |