Sha256: 8f0c4bc72f4e39a5a28169c6280b85cfce2ee5b2e8a01f37e3dd0c2a9d9b8fe6
Contents?: true
Size: 948 Bytes
Versions: 11
Compression:
Stored size: 948 Bytes
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2022 Eric Crane. All rights reserved. # # Unload all files. # module Gloo module Verbs class Unload < Gloo::Core::Verb KEYWORD = 'unload'.freeze KEYWORD_SHORT = 'u!'.freeze # # Run the verb. # def run return unless @engine.persist_man.maps objs = @engine.persist_man.maps.map { |fs| fs.obj } objs.each { |o| o.msg_unload } 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 # --------------------------------------------------------------------- # Private functions # --------------------------------------------------------------------- private end end end
Version data entries
11 entries across 11 versions & 1 rubygems