diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-08-06 01:01:54 +0530 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:32 -0700 |
commit | bc9eaf422d9731bb4deb599f7b1e2e9014b870a0 (patch) | |
tree | 2ebaeab013a14b09da7df6fa875de68ad2c4999e /railties/guides | |
parent | 86ae14df4733cac1748513994caec2f9775ae224 (diff) | |
download | rails-bc9eaf422d9731bb4deb599f7b1e2e9014b870a0.tar.gz rails-bc9eaf422d9731bb4deb599f7b1e2e9014b870a0.tar.bz2 rails-bc9eaf422d9731bb4deb599f7b1e2e9014b870a0.zip |
indentation fixes
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/initialization.textile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile index 6ab2706d6b..154df51cdc 100644 --- a/railties/guides/source/initialization.textile +++ b/railties/guides/source/initialization.textile @@ -348,10 +348,10 @@ The class *is* defined in +Rack::Server+, but is overwritten in +Rails::Server+ def parse!(args) args, options = args.dup, {} - opt_parser = OptionParser.new do |opts| - opts.banner = "Usage: rails server [mongrel, thin, etc] [options]" - opts.on("-p", "--port=port", Integer, - "Runs Rails on the specified port.", "Default: 3000") { |v| options[:Port] = v } + opt_parser = OptionParser.new do |opts| + opts.banner = "Usage: rails server [mongrel, thin, etc] [options]" + opts.on("-p", "--port=port", Integer, + "Runs Rails on the specified port.", "Default: 3000") { |v| options[:Port] = v } ... </ruby> |