Sha256: 9b89e162ce41479c859c2f8019543d31c25ab35e351eae9e656d9f4069a87b72
Contents?: true
Size: 996 Bytes
Versions: 1
Compression:
Stored size: 996 Bytes
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 @engine.persist_man.maps.each do |map| @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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gloo-lang-1.2.8 | lib/gloo_lang/verbs/files.rb |