Sha256: b1907f034c113522b93a6387539f58289dbebf8b4cd8ccfdd057e06869b9b448

Contents?: true

Size: 243 Bytes

Versions: 2

Compression:

Stored size: 243 Bytes

Contents

module AwsClean::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

2 entries across 2 versions & 1 rubygems

Version Path
aws-clean-0.2.0 lib/aws_clean/help.rb
aws-clean-0.1.0 lib/aws_clean/help.rb