method

from_yaml

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: Specification
from_yaml(input) public

Special loader for YAML files. When a Specification object is loaded from a YAML file, it bypasses the normal Ruby object initialization routine (#initialize). This method makes up for that and deals with gems of different ages.

input can be anything that YAML.load() accepts: String or IO.

Show source
Register or log in to add new notes.