Method: String#chomp
- Defined in:
- lib/rwd/ruby.rb
#chomp(dummy = nil) ⇒ Object
95 96 97 |
# File 'lib/rwd/ruby.rb', line 95 def chomp(dummy=nil) self.gsub(/[\r\n]*\z/, "") end |
95 96 97 |
# File 'lib/rwd/ruby.rb', line 95 def chomp(dummy=nil) self.gsub(/[\r\n]*\z/, "") end |