Class: NOTAM::B
Overview
The B item defines when the NOTAM goes into effect.
Constant Summary collapse
- RE =
%r( \A B\)\s? (?<effective_at>#{TIME_RE}) \z )x.freeze
Constants inherited from Item
Item::ICAO_RE, Item::ID_RE, Item::TIME_RE
Instance Attribute Summary
Attributes inherited from Item
Instance Method Summary collapse
Methods inherited from Item
#fail!, #initialize, #inspect, #parse, #type, type
Constructor Details
This class inherits a constructor from NOTAM::Item
Instance Method Details
#effective_at ⇒ Time
16 17 18 |
# File 'lib/notam/item/b.rb', line 16 def effective_at time(captures['effective_at']) end |
#merge ⇒ Object
21 22 23 |
# File 'lib/notam/item/b.rb', line 21 def merge super(:effective_at) end |