Exception: UsageMod::IOInputError
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri, msg) ⇒ IOInputError
constructor
A new instance of IOInputError.
Constructor Details
#initialize(uri, msg) ⇒ IOInputError
Returns a new instance of IOInputError.
122 123 124 125 |
# File 'lib/Usage.rb', line 122 def initialize(uri, msg) @uri = uri super("error opening input: '#{uri}' because #{msg}") end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
121 122 123 |
# File 'lib/Usage.rb', line 121 def msg @msg end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
121 122 123 |
# File 'lib/Usage.rb', line 121 def uri @uri end |