aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_support_core_extensions.md
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-04-20 21:03:09 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-04-20 21:03:09 +0530
commit0c2854fa0302acfeb27f1316f2163b3c1dfc4f95 (patch)
tree5d7773b18d731e3fb95fc9d5b8e42dbe9e0180ba /guides/source/active_support_core_extensions.md
parentb1000ead4232ed0b019796b836003596300946f1 (diff)
downloadrails-0c2854fa0302acfeb27f1316f2163b3c1dfc4f95.tar.gz
rails-0c2854fa0302acfeb27f1316f2163b3c1dfc4f95.tar.bz2
rails-0c2854fa0302acfeb27f1316f2163b3c1dfc4f95.zip
[ci skip] builtin -> built-in
Diffstat (limited to 'guides/source/active_support_core_extensions.md')
-rw-r--r--guides/source/active_support_core_extensions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md
index 87d780eca9..5a4e15cfa9 100644
--- a/guides/source/active_support_core_extensions.md
+++ b/guides/source/active_support_core_extensions.md
@@ -761,7 +761,7 @@ Arguments may be bare constant names:
Math.qualified_const_get("E") # => 2.718281828459045
```
-These methods are analogous to their builtin counterparts. In particular,
+These methods are analogous to their built-in counterparts. In particular,
`qualified_constant_defined?` accepts an optional second argument to be
able to say whether you want the predicate to look in the ancestors.
This flag is taken into account for each constant in the expression while
@@ -792,7 +792,7 @@ N.qualified_const_defined?("C::X") # => true
As the last example implies, the second argument defaults to true,
as in `const_defined?`.
-For coherence with the builtin methods only relative paths are accepted.
+For coherence with the built-in methods only relative paths are accepted.
Absolute qualified constant names like `::Math::PI` raise `NameError`.
NOTE: Defined in `active_support/core_ext/module/qualified_const.rb`.