instance method docs

Ruby on Rails 1.9.3

Since v1.9.3 Last seen in v2.11.0

Available in: v1.9.3 v2.0.0 v2.1.2 v2.2.2 v2.3.0 v2.4.0 v2.5.3 v2.6.1 v2.7.0 v2.8.2 v2.9.0 v2.10.1 v2.11.0

Signature

docs(section = nil)

No documentation comment.

Parameters

section opt = nil
Source
# File lib/kamal/cli/main.rb, line 131
  def docs(section = nil)
    case section
    when NilClass
      puts Kamal::Configuration.validation_doc
    else
      puts Kamal::Configuration.const_get(section.titlecase.to_sym).validation_doc
    end
  rescue NameError
    puts "No documentation found for #{section}"
  end

Defined in lib/kamal/cli/main.rb line 131 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Kamal::Cli::Main

Type at least 2 characters to search.

↑↓ navigate · open · esc close