Sha256: e970c3991b81dc5d265acccab6c7ab53cca784c755cdc7d26d9823b340d20acf
Contents?: true
Size: 792 Bytes
Versions: 6
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
6 entries across 6 versions & 1 rubygems