Sha256: 1815e03c69c4e39f2d229ecf95b54c774709a78925bfcc8307d7579fb50ad377

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
aws-rotate-0.4.0 lib/aws_rotate/help.rb
aws-rotate-0.3.0 lib/aws_rotate/help.rb
aws-rotate-0.2.0 lib/aws_rotate/help.rb
aws-rotate-0.1.0 lib/aws_rotate/help.rb