Method: Interactive::InputState#censor
- Defined in:
- lib/interact/interactive.rb
#censor(what) ⇒ Object
53 54 55 56 57 58 59 |
# File 'lib/interact/interactive.rb', line 53 def censor(what) if with = [:echo] with * what.size else what end end |