Sha256: a80edaec5e4319b7eedc95b447b06930c1ec0fe53c01aa6f55a1df317f8cc04c
Contents?: true
Size: 689 Bytes
Versions: 1
Compression:
Stored size: 689 Bytes
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved. # # Save an object to a file or other persistance mechcanism. # module Gloo module Verbs class Save < Gloo::Core::Verb KEYWORD = 'save' KEYWORD_SHORT = '>' # # Run the verb. # def run $engine.persist_man.save @tokens.second end # # Get the Verb's keyword. # def self.keyword return KEYWORD end # # Get the Verb's keyword shortcut. # def self.keyword_shortcut return KEYWORD_SHORT end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gloo-0.3.0 | lib/gloo/verbs/save.rb |