summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-02 00:00:12 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-02 00:00:12 +0900
commit30556ad921d38482cc98174cdef36d5f8a67d8a0 (patch)
tree8f7dfdad8671a5591cfb92e03f909a23cf956b79
parent2d1f303ec27f234f9c02e7d68cd94fed7bc22e83 (diff)
downloadmruby-30556ad921d38482cc98174cdef36d5f8a67d8a0.tar.gz
mruby-30556ad921d38482cc98174cdef36d5f8a67d8a0.zip
remove print and puts from kernel.rb
-rw-r--r--mrblib/kernel.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/mrblib/kernel.rb b/mrblib/kernel.rb
index d881a35cf..e769741b7 100644
--- a/mrblib/kernel.rb
+++ b/mrblib/kernel.rb
@@ -56,29 +56,4 @@ module Kernel
yield
end
end
-
- ##
- # Print arguments
- #
- # ISO 15.3.1.2.10
- def print(*args)
- args.each do|x|
- if x.nil?
- __printstr__ "nil"
- else
- __printstr__ x.to_s
- end
- end
- end
-
- ##
- # Print arguments with newline
- #
- # ISO 15.3.1.2.11
- def puts(*args)
- args.each do|x|
- __printstr__ x.to_s
- __printstr__ "\n"
- end
- end
end