Class: Rubydex::RelatedInformation
- Inherits:
-
Object
- Object
- Rubydex::RelatedInformation
- Defined in:
- lib/rubydex/related_information.rb
Instance Attribute Summary collapse
- #location ⇒ Object readonly
- #message ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(message, location) ⇒ RelatedInformation
constructor
A new instance of RelatedInformation.
Constructor Details
#initialize(message, location) ⇒ RelatedInformation
Returns a new instance of RelatedInformation.
12 13 14 15 |
# File 'lib/rubydex/related_information.rb', line 12 def initialize(, location) @message = @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly)
9 10 11 |
# File 'lib/rubydex/related_information.rb', line 9 def location @location end |
#message ⇒ Object (readonly)
6 7 8 |
# File 'lib/rubydex/related_information.rb', line 6 def @message end |