method

math_mode=

v1_9_1_378 - Show latest stable - Class: IRB::Context
math_mode=(opt)
public

No documentation available.

# File lib/irb/ext/math-mode.rb, line 18
    def math_mode=(opt)
      if @math_mode == true && opt == false
        IRB.fail CantReturnToNormalMode
        return
      end

      @math_mode = opt
      if math_mode
        main.extend Math
        print "start math mode\n" if verbose?
      end
    end