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