Class: Configuration::Delimiters
- Inherits:
-
Object
- Object
- Configuration::Delimiters
- Includes:
- Ruby::Enum
- Defined in:
- lib/mathematical/configuration.rb
Class Method Summary collapse
Class Method Details
.option_exists?(option) ⇒ Boolean
17 18 19 20 21 |
# File 'lib/mathematical/configuration.rb', line 17 def option_exists?(option) unless Delimiters.key?(option) raise(TypeError, "delimiter type does not exist: #{option}") end end |