Namespace

Class/Module Index [+]

Quicksearch

Gyoku

Constants

VERSION

Public Class Methods

configure() click to toggle source

Yields this object for configuration.

# File lib/gyoku.rb, line 13
def configure
  yield self
end
convert_symbols_to(formula = nil, &block) click to toggle source

Sets the formula for converting Symbol keys.

# File lib/gyoku.rb, line 18
def convert_symbols_to(formula = nil, &block)
  XMLKey.symbol_converter = formula ? formula : block
end
xml(hash, options = {}) click to toggle source

Translates a given hash with options to XML.

# File lib/gyoku.rb, line 8
def xml(hash, options = {})
  Hash.to_xml hash.dup, options
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.