Class: Sonar::Connector::CommitSeppukuCommand
- Defined in:
- lib/sonar_connector/commands/commit_seppuku_command.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize ⇒ CommitSeppukuCommand
constructor
A new instance of CommitSeppukuCommand.
Methods inherited from Command
Constructor Details
#initialize ⇒ CommitSeppukuCommand
Returns a new instance of CommitSeppukuCommand.
5 6 7 8 9 10 11 12 |
# File 'lib/sonar_connector/commands/commit_seppuku_command.rb', line 5 def initialize l = lambda do # controller is in scope here because we've jumped thru some serious hoops # and shaved the hell out of a yak or three. Thread.new {controller.shutdown_lambda.call} end super(l) end |