Methods

Class/Module Index [+]

Quicksearch

HammerCLIForeman::ParamsNameFilter

Public Class Methods

new(name) click to toggle source
# File lib/hammer_cli_foreman/param_filters.rb, line 67
def initialize(name)
  @name = name
end

Public Instance Methods

filter(params) click to toggle source
# File lib/hammer_cli_foreman/param_filters.rb, line 71
def filter(params)
  ParamsFlattener.new.filter(params).select{ |p| p.name == @name }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.