Module: Kernel
- Defined in:
- lib/cuse.rb
Overview
“open” Kernel module, that’s where the ‘puts` lives.
Instance Method Summary collapse
-
#puts_with_append(*args) ⇒ Object
(also: #puts)
our new puts.
Instance Method Details
#puts_with_append(*args) ⇒ Object Also known as: puts
our new puts
4 5 6 |
# File 'lib/cuse.rb', line 4 def puts_with_append *args puts_without_append args.map{|a| a + "| Let's Go Orange!"} end |