Class: ImportableAttachments::Version
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ImportableAttachments::Version
- Includes:
- Rails::MarkRequirements, SmarterDates
- Defined in:
- app/models/importable_attachments/version.rb
Instance Method Summary collapse
-
#yml_to_ruby ⇒ Object
:call-seq: yml_to_ruby.
Instance Method Details
#yml_to_ruby ⇒ Object
: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 |