Class: EY::Stonith::Commands::Claim

Inherits:
Abstract
  • Object
show all
Defined in:
lib/ey_stonith/commands/claim.rb

Constant Summary

Constants inherited from Abstract

Abstract::DEFAULT_CONFIG_PATH, Abstract::SCRIPT_NAME

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Abstract

#call, #command_options, #config, #execute, #history, #init_logger, #initialize, #parse!, #parser, #script

Constructor Details

This class inherits a constructor from EY::Stonith::Commands::Abstract

Class Method Details



9
10
11
# File 'lib/ey_stonith/commands/claim.rb', line 9

def self.banner
  "Legacy command. No longer used."
end

.commandObject



5
6
7
# File 'lib/ey_stonith/commands/claim.rb', line 5

def self.command
  'claim'
end

Instance Method Details

#invokeObject



13
14
15
16
17
18
# File 'lib/ey_stonith/commands/claim.rb', line 13

def invoke
  puts "Yo Dawg, I heard you like Claim, but we removed it because we don't do that anymore, so stop using it.\nThere is no replacement command needed. Just update instances to update the master.\n  HELP\nend\n"