class GreyscaleRecord::Drivers::Yaml

Private Instance Methods

data_file( object ) click to toggle source
# File lib/greyscale_record/drivers/yaml.rb, line 11
def data_file( object )
  [root, "#{object}.yml"].compact.join("/")
end
load_data( object ) click to toggle source
# File lib/greyscale_record/drivers/yaml.rb, line 7
def load_data( object )
  YAML.load_file( data_file( object ) ).with_indifferent_access
end