aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-04-26 23:26:10 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-04-26 23:26:10 -0300
commita2bfa5fa305d7eebfee1bcb2c556112a3e03f2c2 (patch)
tree081a99432fc7fe9435dc56d960d8299b09d5a82e /activemodel/lib
parentc1132f7093b29e6acb95be4d262a07d5b04082d3 (diff)
downloadrails-a2bfa5fa305d7eebfee1bcb2c556112a3e03f2c2.tar.gz
rails-a2bfa5fa305d7eebfee1bcb2c556112a3e03f2c2.tar.bz2
rails-a2bfa5fa305d7eebfee1bcb2c556112a3e03f2c2.zip
Better formatting on ActiveModel::Translation
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/translation.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/translation.rb b/activemodel/lib/active_model/translation.rb
index 920a133159..6d64c81b5f 100644
--- a/activemodel/lib/active_model/translation.rb
+++ b/activemodel/lib/active_model/translation.rb
@@ -18,12 +18,12 @@ module ActiveModel
#
# This also provides the required class methods for hooking into the
# Rails internationalization API, including being able to define a
- # class based i18n_scope and lookup_ancestors to find translations in
+ # class based +i18n_scope+ and +lookup_ancestors+ to find translations in
# parent classes.
module Translation
include ActiveModel::Naming
- # Returns the i18n_scope for the class. Overwrite if you want custom lookup.
+ # Returns the +i18n_scope+ for the class. Overwrite if you want custom lookup.
def i18n_scope
:activemodel
end