Parent

Methods

GemInstaller::YamlLoader

Public Instance Methods

load(yaml_text) click to toggle source
    # File lib/geminstaller/yaml_loader.rb, line 3
 3:     def load(yaml_text)
 4:       yaml = nil
 5:       begin
 6:         yaml = YAML.load(yaml_text)
 7:       rescue Exception => e
 8:         message = e.message
 9:         error = Error: Received error while attempting to parse YAML from yaml text  #{message}Please ensure this is valid YAML#{yaml_text}\n\n"
10: 
11:         raise GemInstaller::GemInstallerError.new(error)
12:       end
13:       return yaml
14:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.