class TPS::Importer::Base
Public Class Methods
new(file)
click to toggle source
# File lib/tps/importer.rb, line 11 def initialize(file) @file = file @tree = Hash.new end
Public Instance Methods
to_yaml()
click to toggle source
# File lib/tps/importer.rb, line 16 def to_yaml YAML::dump @tree end