Class: TTK::Loaders::Yaml
- Includes:
- Concrete
- Defined in:
- lib/ttk/loaders/Yaml.rb
Instance Method Summary collapse
Instance Method Details
#load(aString) ⇒ Object
16 17 18 19 20 |
# File 'lib/ttk/loaders/Yaml.rb', line 16 def load ( aString ) tree = YAML::parse(aString) return nil unless tree tree.ttk_loader_yaml_transform end |