Sha256: faafc61405ce227b9aebe449071dd11519a77884451cb2a1c813e0fac16c12d3

Contents?: true

Size: 388 Bytes

Versions: 15

Compression:

Stored size: 388 Bytes

Contents

module Lono::Help
  class << self
    # namespaced_command: cfn/create or cfn:create
    # both work.
    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

    # Generates a markdown file for site docuemtation
    def markdown

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lono-4.2.7 lib/lono/help.rb
lono-4.2.6 lib/lono/help.rb
lono-4.2.5 lib/lono/help.rb
lono-4.2.4 lib/lono/help.rb
lono-4.2.3 lib/lono/help.rb
lono-4.2.2 lib/lono/help.rb
lono-4.2.1 lib/lono/help.rb
lono-4.2.0 lib/lono/help.rb
lono-4.1.0 lib/lono/help.rb
lono-4.0.6 lib/lono/help.rb
lono-4.0.5 lib/lono/help.rb
lono-4.0.4 lib/lono/help.rb
lono-4.0.3 lib/lono/help.rb
lono-4.0.2 lib/lono/help.rb
lono-4.0.1 lib/lono/help.rb