method

math_mode=

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

Sets bc mode, which loads lib/mathn.rb so fractions or matrix are available.

Also available as the -m command line option.

See IRB@Command+line+options and the unix manpage bc(1) for more information.