Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
7
Task/Topic-variable/Ruby/topic-variable-1.rb
Normal file
7
Task/Topic-variable/Ruby/topic-variable-1.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
while DATA.gets # assigns to $_ (local scope)
|
||||
print # If no arguments are given, prints $_
|
||||
end
|
||||
__END__
|
||||
This is line one
|
||||
This is line two
|
||||
This is line three
|
||||
Loading…
Add table
Add a link
Reference in a new issue