Exception: RSpec::Puppet::Errors::RelationshipError
- Inherits:
-
StandardError
- Object
- StandardError
- RSpec::Puppet::Errors::RelationshipError
- Defined in:
- lib/rspec-puppet/errors.rb
Direct Known Subclasses
BeforeRelationshipError, NotifyRelationshipError, RequireRelationshipError, SubscribeRelationshipError
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(from, to) ⇒ RelationshipError
constructor
A new instance of RelationshipError.
- #to_s ⇒ Object
Constructor Details
#initialize(from, to) ⇒ RelationshipError
Returns a new instance of RelationshipError.
57 58 59 60 |
# File 'lib/rspec-puppet/errors.rb', line 57 def initialize(from, to) @from = from @to = to end |
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from.
55 56 57 |
# File 'lib/rspec-puppet/errors.rb', line 55 def from @from end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
55 56 57 |
# File 'lib/rspec-puppet/errors.rb', line 55 def to @to end |
Instance Method Details
#to_s ⇒ Object
62 63 64 |
# File 'lib/rspec-puppet/errors.rb', line 62 def to_s end |