Class: ImportableAttachments::Version

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Rails::MarkRequirements, SmarterDates
Defined in:
app/models/importable_attachments/version.rb

Instance Method Summary collapse

Instance Method Details

#yml_to_rubyObject

:call-seq: yml_to_ruby

loads the yaml object into a ruby-hash if this is the ‘destroyed’ version, then RTFM reify



45
46
47
# File 'app/models/importable_attachments/version.rb', line 45

def yml_to_ruby
  Psych.load object
end