module Ukoyg

Constants

VERSION

Public Class Methods

xml(hash, options = {}) click to toggle source

Translates a given hash with options to XML.

# File lib/ukoyg.rb, line 12
def self.xml(hash, options = {})
  Hash.to_xml hash.dup, options
end
xml_tag(key, options = {}) click to toggle source

Converts a given Hash key with options into an XML tag.

# File lib/ukoyg.rb, line 7
def self.xml_tag(key, options = {})
  XMLKey.create(key, options)
end