summaryrefslogtreecommitdiff
path: root/lib/chef/monkey_patches/numeric.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/monkey_patches/numeric.rb')
-rw-r--r--lib/chef/monkey_patches/numeric.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/monkey_patches/numeric.rb b/lib/chef/monkey_patches/numeric.rb
index 1f5ff14209..f4612fdbf3 100644
--- a/lib/chef/monkey_patches/numeric.rb
+++ b/lib/chef/monkey_patches/numeric.rb
@@ -8,7 +8,7 @@ end
# String elements referenced with [] <= 1.8.6 return a Fixnum. Cheat to allow
# for the simpler "test"[2].ord construct
-class Numeric
+class Numeric
def ord
return self
end