Module: VfrUtils

Defined in:
lib/vfr_utils.rb,
lib/vfr_utils/cli.rb,
lib/vfr_utils/taf.rb,
lib/vfr_utils/cache.rb,
lib/vfr_utils/metar.rb,
lib/vfr_utils/notam.rb,
lib/vfr_utils/version.rb,
lib/vfr_utils/base_service.rb,
lib/vfr_utils/configuration.rb,
lib/vfr_utils/formatter/notam.rb,
lib/vfr_utils/formatter/weather.rb,
lib/vfr_utils/master_configuration.rb

Defined Under Namespace

Modules: CLI, Formatter Classes: BaseService, Cache, Configuration, METAR, MasterConfiguration, NOTAM, TAF

Constant Summary collapse

VERSION =
'0.0.6'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.master_configurationObject

Returns the value of attribute master_configuration


12
13
14
# File 'lib/vfr_utils.rb', line 12

def master_configuration
  @master_configuration
end

Class Method Details

.configure {|master_configuration| ... } ⇒ Object


18
19
20
21
# File 'lib/vfr_utils.rb', line 18

def configure
  self.master_configuration ||= MasterConfiguration.new
  yield master_configuration
end