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 included 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.
24 25 26 27 |
# File 'lib/dentaku/exceptions.rb', line 24 def initialize(function_name, args) @function_name = function_name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
22 23 24 |
# File 'lib/dentaku/exceptions.rb', line 22 def args @args end |
#function_name ⇒ Object (readonly)
Returns the value of attribute function_name.
22 23 24 |
# File 'lib/dentaku/exceptions.rb', line 22 def function_name @function_name end |