class XTemplate::YAMLDocument

Attributes

to_hash[R]

Public Class Methods

new(doc) click to toggle source
# File lib/xtemplate/yaml.rb, line 8
def initialize(doc)
  @to_hash = YAML.load(doc)
end