class SiteHook::NotImplemented

Attributes

command_object[R]

Public Class Methods

declare(command) click to toggle source
# File lib/site_hook/deprecate.rb, line 49
def self.declare(command)
  instance = self.new(command)
  instance.instance_variable_set(
      :'@output_string',
      "#{instance.instance_variable_get(:'@output_string')}` is not implemented currently")
  puts instance.instance_variable_get(:'@output_string')
end
new(command) click to toggle source
# File lib/site_hook/deprecate.rb, line 44
def initialize(command)
  @command_object = command
  @exe_name = 'site_hook'
  @output_string = "Command `#{@exe_name} #{command.name_for_help.join(' ')}"
end