aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-02 01:07:07 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-02 01:08:14 +0530
commit6e02164e027d3ab725bff995c027ca5e276a9d4c (patch)
tree0f5b3853b84d9ea480c7b945bb1701ea8b893e5c
parent196c8f13bfcb31d14e3155a57b5edd9b5c0aaf15 (diff)
downloadrails-6e02164e027d3ab725bff995c027ca5e276a9d4c.tar.gz
rails-6e02164e027d3ab725bff995c027ca5e276a9d4c.tar.bz2
rails-6e02164e027d3ab725bff995c027ca5e276a9d4c.zip
styling changes
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb
index f9f7448008..ed8aea69b9 100644
--- a/activerecord/lib/active_record/migration/command_recorder.rb
+++ b/activerecord/lib/active_record/migration/command_recorder.rb
@@ -1,6 +1,6 @@
module ActiveRecord
class Migration
- # ActiveRecord::Migration::CommandRecorder records commands done during
+ # <tt>ActiveRecord::Migration::CommandRecorder</tt> records commands done during
# a migration and knows how to reverse those commands. The CommandRecorder
# knows how to invert the following commands:
#
@@ -23,7 +23,7 @@ module ActiveRecord
# record +command+. +command+ should be a method name and arguments.
# For example:
#
- # recorder.record(:method_name, [:arg1, arg2])
+ # recorder.record(:method_name, [:arg1, :arg2])
def record(*command)
@commands << command
end
@@ -34,7 +34,7 @@ module ActiveRecord
# recorder.record(:rename_table, [:old, :new])
# recorder.inverse # => [:rename_table, [:new, :old]]
#
- # This method will raise an IrreversibleMigration exception if it cannot
+ # This method will raise an +IrreversibleMigration+ exception if it cannot
# invert the +commands+.
def inverse
@commands.reverse.map { |name, args|