instance method options

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v3.1.12

Available in: v2.2.3 v2.3.18 v3.0.20 v3.1.12

Signature

options()

No documentation comment.

Source
# File railties/lib/commands/plugin.rb, line 881
    def options
      OptionParser.new do |o|
        o.set_summary_indent('  ')
        o.banner =    "Usage: #{@base_command.script_name} info name [name]..."
        o.define_head "Shows plugin info at {url}/about.yml."
      end
    end

Defined in railties/lib/commands/plugin.rb line 881 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Commands::Info

Type at least 2 characters to search.

↑↓ navigate · open · esc close