Permalink
Browse files

remove print and puts from kernel.rb

  • Loading branch information...
1 parent 2d1f303 commit 30556ad921d38482cc98174cdef36d5f8a67d8a0 @matz matz committed Jun 1, 2012
Showing with 0 additions and 25 deletions.
  1. +0 −25 mrblib/kernel.rb
View
@@ -56,29 +56,4 @@ def loop #(&block)
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

0 comments on commit 30556ad

Please sign in to comment.