Exception: PuppetRepl::Exception::Error
- Inherits:
-
StandardError
- Object
- StandardError
- PuppetRepl::Exception::Error
- Defined in:
- lib/puppet-repl/support/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(data = {}) ⇒ Error
Returns a new instance of Error.
5 6 7 |
# File 'lib/puppet-repl/support/errors.rb', line 5 def initialize(data={}) @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
4 5 6 |
# File 'lib/puppet-repl/support/errors.rb', line 4 def data @data end |