class Maxima::Boolean

Constants

TRUE_REGEX

Public Class Methods

parse(string) click to toggle source
# File lib/maxima/boolean.rb, line 6
def self.parse(string)
  !!(TRUE_REGEX =~ string)
rescue
  nil
end