Sha256: 4d01e9d4786506806c5b0a2edb90712a71d639d78a5773968c3424d8f1e4ae9b

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

module S3Antivirus::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
s3-antivirus-0.2.0 lib/s3_antivirus/help.rb
s3-antivirus-0.1.0 lib/s3_antivirus/help.rb