module EntityCache::Controls::Store::External::Write
Public Class Methods
call()
click to toggle source
# File lib/entity_cache/controls/store/external/write.rb, line 6 def self.call subject = Subject.example text = YAML.dump([ Controls::Entity.example, Controls::Record.persisted_version, Controls::Record.persisted_time ]) path = External.path(subject) File.write(path, text) return subject end