Sha256: e81027225f4a07b47b355cef2b6aaa9e7f52208fe88713823899429b8c1fb87b
Contents?: true
Size: 792 Bytes
Versions: 23
Compression:
Stored size: 792 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 GlooLang module Verbs class Save < GlooLang::Core::Verb KEYWORD = 'save'.freeze KEYWORD_SHORT = '>'.freeze # # Run the verb. # def run # TODO: Not currently using folders or keeping # track of where the object was loaded from. @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
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
gloo-lang-0.9.11 | lib/gloo_lang/verbs/save.rb |
gloo-lang-0.9.10 | lib/gloo_lang/verbs/save.rb |
gloo-lang-0.9.9 | lib/gloo_lang/verbs/save.rb |