class ISO3166::KwargStruct

def initialize(*args)

Override the initialize to handle hashes of named parameters
def initialize(*args)
  opts = args.last.is_a?(Hash) ? args.pop : {}
  super(*args)
  opts.each_pair do |k, v|
    send "#{k}=", v
  end
end