Skip to content

Commit

Permalink
Add documentation for Kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
bovi committed May 2, 2012
1 parent 0026d5f commit 3ea3a08
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mrblib/print.rb
@@ -1,4 +1,13 @@
##
# Kernel
#
# ISO 15.3.1
module Kernel

##
# Invoke method +print+ on STDOUT and passing +*args+
#
# ISO 15.3.1.2.10
def print(*args)
i = 0
len = args.size
Expand All @@ -7,6 +16,11 @@ def print(*args)
i += 1
end
end

##
# Invoke method +puts+ on STDOUT and passing +*args*+
#
# ISO 15.3.1.2.11
def puts(*args)
i = 0
len = args.size
Expand Down

0 comments on commit 3ea3a08

Please sign in to comment.