Sha256: cc0ed203a715148e50ca1e94443c2be3c2a2563cead6412d556db1c916c11d01
Contents?: true
Size: 1.07 KB
Versions: 20
Compression:
Stored size: 1.07 KB
Contents
# Author:: Eric Crane (mailto:eric.crane@mac.com) # Copyright:: Copyright (c) 2022 Eric Crane. All rights reserved. # # Show all the currently loaded files. # module Gloo module Verbs class Files < Gloo::Core::Verb KEYWORD = 'files'.freeze KEYWORD_SHORT = 'fs'.freeze # # Run the verb. # def run return unless @engine.persist_man.maps @engine.persist_man.maps.each do |map| # puts "#{map.obj.name} - #{map.pn}" @engine.log.show "#{map.obj.name} - #{map.pn}" end @engine.heap.it.set_to @engine.persist_man.maps.count 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
20 entries across 20 versions & 1 rubygems