module Icss::ReceiverModel::ActsAsLoadable

adds methods to load and store from json, yaml or magic

This will require 'json' UNLESS you have already included something (so if you want to say require 'yajl/json_gem' then do that first).

Public Instance Methods

merge_from_file!(filename) click to toggle source
# File lib/icss/receiver_model/acts_as_loadable.rb, line 39
def merge_from_file! filename
  other_obj = self.class.receive_from_file(filename)
  tree_merge! other_obj
end