Class: Rubydex::RelatedInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/rubydex/related_information.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, location) ⇒ RelatedInformation

Returns a new instance of RelatedInformation.

Signature:

  • (String, Location) -> void



12
13
14
15
# File 'lib/rubydex/related_information.rb', line 12

def initialize(message, location)
  @message = message
  @location = location
end

Instance Attribute Details

#locationObject (readonly)

Signature:

  • Location



9
10
11
# File 'lib/rubydex/related_information.rb', line 9

def location
  @location
end

#messageObject (readonly)

Signature:

  • String



6
7
8
# File 'lib/rubydex/related_information.rb', line 6

def message
  @message
end