class ISO3166::KwargStruct
def initialize(*args)
def initialize(*args) opts = args.last.is_a?(Hash) ? args.pop : {} super(*args) opts.each_pair do |k, v| send "#{k}=", v end end
def initialize(*args) opts = args.last.is_a?(Hash) ? args.pop : {} super(*args) opts.each_pair do |k, v| send "#{k}=", v end end