lib/livetext/userapi.rb in livetext-0.9.38 vs lib/livetext/userapi.rb in livetext-0.9.39
- old
+ new
@@ -171,9 +171,10 @@
end
def out(str = "", file = nil)
return if str.nil?
return file.puts str unless file.nil?
+ str.gsub!("\b ", "") # ignore spaces
@live.body << str
@live.body << "\n" unless str.end_with?("\n")
end
def out!(str = "")