Module: Main::Softspoken

Included in:
Mode::Ambiguous, Parameter::Error
Defined in:
lib/main/softspoken.rb

Class Method Summary collapse

Class Method Details

.===(other) ⇒ Object



7
8
9
# File 'lib/main/softspoken.rb', line 7

def === other
  softspoken ? super : false
end

.off!Object



6
# File 'lib/main/softspoken.rb', line 6

def off!() softspoken(false) end

.on!Object



5
# File 'lib/main/softspoken.rb', line 5

def on!() softspoken(true) end