math_mode=(opt) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.