Parent

Class/Module Index [+]

Quicksearch

HammerCLI::BaseDefaultsProvider

Attributes

description[R]
provider_name[R]
supported_defaults[R]

Public Class Methods

new() click to toggle source
# File lib/hammer_cli/defaults_commands.rb, line 7
def initialize
  @provider_name = nil
  @supported_defaults = nil
  @description = 'Abstract provider'
end

Public Instance Methods

get_defaults() click to toggle source
# File lib/hammer_cli/defaults_commands.rb, line 17
def get_defaults
  raise NotImplementedError
end
param_supported?(param) click to toggle source
# File lib/hammer_cli/defaults_commands.rb, line 13
def param_supported?(param)
  @supported_defaults.nil? || @supported_defaults.any? {|s| s.to_s == param}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.