Class: Tapjoy::TassLib::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/tapjoy/tass-lib.rb

Instance Method Summary collapse

Instance Method Details

#load_yaml(filename) ⇒ Object



42
43
44
45
# File 'lib/tapjoy/tass-lib.rb', line 42

def load_yaml(filename)
  abort("ERROR: '#{filename}' is not readable") unless File.readable?(filename)
  Hash[YAML.load_file(filename)]
end