Sha256: 7c27c5435c0b9b72007427f11401b53decccf4d5249836031a91560421d4a818

Contents?: true

Size: 244 Bytes

Versions: 5

Compression:

Stored size: 244 Bytes

Contents

module Inventory::Help
  class << self
    def text(namespaced_command)
      path = namespaced_command.to_s.gsub(':','/')
      path = File.expand_path("../help/#{path}.md", __FILE__)
      IO.read(path) if File.exist?(path)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aws-inventory-0.3.2 lib/inventory/help.rb
aws-inventory-0.3.1 lib/inventory/help.rb
aws-inventory-0.3.0 lib/inventory/help.rb
aws-inventory-0.2.1 lib/inventory/help.rb
aws-inventory-0.2.0 lib/inventory/help.rb