method
chop!
chop!()
public
Hide source
# File lib/jcode.rb, line 192 def chop! self.gsub!(/(?:.|\r?\n)\z/, '') end
chop!()
public
# File lib/jcode.rb, line 192 def chop! self.gsub!(/(?:.|\r?\n)\z/, '') end