# File lib/puppet/provider/nameservice.rb, line 38 38: def options(name, hash) 39: raise Puppet::DevError, "#{name} is not a valid attribute for #{resource_type.name}" unless resource_type.valid_parameter?(name) 40: @options ||= {} 41: @options[name] ||= {} 42: 43: # Set options individually, so we can call the options method 44: # multiple times. 45: hash.each do |param, value| 46: @options[name][param] = value 47: end 48: end