Sha256: c68ae1292b820d9ef31b5c7aa922d0249f94ac5c6ac0310821e5c29edcd1f512

Contents?: true

Size: 243 Bytes

Versions: 2

Compression:

Stored size: 243 Bytes

Contents

module Balancer::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
balancer-0.2.0 lib/balancer/help.rb
balancer-0.1.0 lib/balancer/help.rb