Exception: Dentaku::MathDomainError
- Defined in:
- lib/dentaku/exceptions.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#function_name ⇒ Object
readonly
Returns the value of attribute function_name.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(function_name, args) ⇒ MathDomainError
constructor
A new instance of MathDomainError.
Constructor Details
#initialize(function_name, args) ⇒ MathDomainError
Returns a new instance of MathDomainError.
17 18 19 20 |
# File 'lib/dentaku/exceptions.rb', line 17 def initialize(function_name, args) @function_name = function_name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
15 16 17 |
# File 'lib/dentaku/exceptions.rb', line 15 def args @args end |
#function_name ⇒ Object (readonly)
Returns the value of attribute function_name.
15 16 17 |
# File 'lib/dentaku/exceptions.rb', line 15 def function_name @function_name end |