summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-16 17:19:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-16 17:19:41 +0000
commit5aa727581530decbd185ba327b30076a2a89790a (patch)
treec69018a88fa8941050e97db508bef25eca163ae7 /lib
parent1401d6bf771166e9fc30ca66e635baff41f6a868 (diff)
downloadruby-5aa727581530decbd185ba327b30076a2a89790a.tar.gz
ruby-5aa727581530decbd185ba327b30076a2a89790a.tar.xz
ruby-5aa727581530decbd185ba327b30076a2a89790a.zip
* lib/rational.rb (Integer::denominator): fixed typo. (ruby-bugs-ja:PR#466)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rational.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rational.rb b/lib/rational.rb
index ccbbddd76..e0a364246 100644
--- a/lib/rational.rb
+++ b/lib/rational.rb
@@ -271,7 +271,7 @@ class Integer
self
end
- def denomirator
+ def denominator
1
end