Sha256: 1b074de6e85ed112ae78155158dd4f1a009009dca3e5a41022bd334a56a0a4f0
Contents?: true
Size: 1.07 KB
Versions: 7
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 GlooLang module Verbs class Files < GlooLang::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
7 entries across 7 versions & 1 rubygems