instance method options

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v3.2.22.5

Signature

options()

No documentation comment.

Source
# File railties/lib/rails/commands/plugin.rb, line 457
      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/rails/commands/plugin.rb line 457 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Commands::Info

Type at least 2 characters to search.

↑↓ navigate · open · esc close