Method: IRB::Locale#String
- Defined in:
- lib/irb/locale.rb
#String(mes) ⇒ Object
43 44 45 46 47 48 49 50 |
# File 'lib/irb/locale.rb', line 43 def String(mes) mes = super(mes) if @encoding mes.encode(@encoding, undef: :replace) else mes end end |