module Gyoku
Constants
- VERSION
Public Class Methods
Source
# File lib/gyoku.rb, line 12 def self.xml(hash, options = {}) Hash.to_xml hash.dup, options end
Translates a given hash
with options
to XML.
Source
# File lib/gyoku.rb, line 7 def self.xml_tag(key, options = {}) XMLKey.create(key, options) end
Converts a given Hash
key
with options
into an XML tag.