Exception: Osm::Error::NoCurrentTerm

Inherits:
Osm::Error
  • Object
show all
Defined in:
lib/osm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, section_id = nil) ⇒ NoCurrentTerm

Returns a new instance of NoCurrentTerm.


21
22
23
24
# File 'lib/osm.rb', line 21

def initialize(message = nil, section_id = nil)
  super(message)
  @section_id = section_id
end

Instance Attribute Details

#section_idObject (readonly)

Returns the value of attribute section_id


20
21
22
# File 'lib/osm.rb', line 20

def section_id
  @section_id
end