module Outliers::Account
Public Instance Methods
load_from_file(file)
click to toggle source
# File lib/outliers/account.rb, line 5 def load_from_file(file) account = {} contents = File.read file YAML.load(contents).each_pair do |k,v| account[k] = v end account end