class KXI::Exceptions::NoArgumentException
Raised when argument value has no binding argument
Public Class Methods
new(val)
click to toggle source
Instantiates the {KXI::Exceptions::NoArgumentException} class @param val [String] Erroneous value
Calls superclass method
# File lib/kxi/exceptions/no_argument_exception.rb, line 15 def initialize(val) super("Value '#{val}' has no argument to bind to!") @val = val end
Public Instance Methods
value()
click to toggle source
Gets the erroneous value @return [String] Erroneous value
# File lib/kxi/exceptions/no_argument_exception.rb, line 9 def value @val end