# File lib/lolcat/lol.rb, line 42 def self.println(str, defaults={}, opts={}) opts.merge!(defaults) str.chomp! str.gsub! STRIP_ANSI, '' if !str.nil? and ($stdout.tty? or opts[:force]) opts[:animate] ? println_ani(str, opts) : println_plain(str, opts) puts end