Class: FileType::Yaml
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
Methods inherited from Generic
#+, extractable, #extractable?, extractable_dir, #extsplit, filetype_extension, inherited, #initialize, #installable?, match_type, #to_s
Constructor Details
This class inherits a constructor from FileType::Generic
Instance Method Details
#load ⇒ Object
273 274 275 |
# File 'lib/file_type.rb', line 273 def load YAML::load(path.read) end |