Method: StringOutput#print
- Defined in:
- lib/tmail/stringio.rb
#print(*args) ⇒ Object
227 228 229 230 231 232 233 234 235 |
# File 'lib/tmail/stringio.rb', line 227 def print( *args ) stream_check! raise ArgumentError, 'wrong # of argument (0 for >1)' if args.empty? args.each do |s| raise ArgumentError, 'nil not allowed' if s.nil? @dest << s.to_s end nil end |