instance method
options
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
options()
No documentation comment.
Source
# File railties/lib/commands/plugin.rb, line 824
def options
OptionParser.new do |o|
o.set_summary_indent(' ')
o.banner = "Usage: #{@base_command.script_name} update [name [name]...]"
o.on( "-r REVISION", "--revision REVISION",
"Checks out the given revision from subversion.",
"Ignored if subversion is not used.") { |v| @revision = v }
o.define_head "Update plugins."
end
end
Defined in railties/lib/commands/plugin.rb line 824
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Commands::Update