summaryrefslogtreecommitdiff
path: root/lib/rational.rb
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
commitae8463b03c8882da342f0d4318175ab950280f0b (patch)
treec69018a88fa8941050e97db508bef25eca163ae7 /lib/rational.rb
parente9d1dd838844b1205b62918058d1d2fd0d62ddd5 (diff)
* lib/rational.rb (Integer::denominator): fixed typo. (ruby-bugs-ja:PR#466)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rational.rb')
-rw-r--r--lib/rational.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rational.rb b/lib/rational.rb
index ccbbddd..e0a3642 100644
--- a/lib/rational.rb
+++ b/lib/rational.rb
@@ -271,7 +271,7 @@ class Integer
self
end
- def denomirator
+ def denominator
1
end