module Superseeder::Formats::Yaml
Public Class Methods
extensions()
click to toggle source
# File lib/superseeder/formats/yaml.rb, line 5 def self.extensions %w(.yml .yaml) end
Public Instance Methods
__process(path, *args) { |f, opts| ... }
click to toggle source
# File lib/superseeder/formats/yaml.rb, line 9 def __process(path, *args) require 'yaml' opts = args.extract_options! f = YAML.load_file(path) yield f, opts end