Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Call-a-function/Ruby/call-a-function-7.rb
Normal file
12
Task/Call-a-function/Ruby/call-a-function-7.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
puts "OK!" # Kernel#puts
|
||||
raise "Error input" # Kernel#raise
|
||||
Integer("123") # Kernel#Integer
|
||||
rand(6) # Kernel#rand
|
||||
throw(:exit) # Kernel#throw
|
||||
|
||||
# method which can be seen like a reserved word.
|
||||
attr_accessor # Module#attr_accessor
|
||||
include # Module#include
|
||||
private # Module#private
|
||||
require # Kernel#require
|
||||
loop { } # Kernel#loop
|
||||
Loading…
Add table
Add a link
Reference in a new issue