HammerCLIForeman::SearchablesAbstractOptionBuilder
# File lib/hammer_cli_foreman/option_builders.rb, line 163 def initialize(resource, searchables) @resource = resource @searchables = searchables end
# File lib/hammer_cli_foreman/option_builders.rb, line 170 def build(builder_params={}) @searchables.for(@resource).collect do |s| option( optionamize("--#{s.name}"), s.name.upcase, s.description ) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.