Module: LoiParser

Defined in:
lib/loi_parser.rb,
lib/loi_parser/reader.rb,
lib/loi_parser/helpers.rb,
lib/loi_parser/version.rb,
lib/loi_parser/configuration.rb

Overview

rubocop:disable Style/Documentation

Defined Under Namespace

Modules: Helpers Classes: Configuration, Reader

Constant Summary collapse

VERSION =
'1.1.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject



22
23
24
25
26
# File 'lib/loi_parser.rb', line 22

def logger
  @logger ||= Logger.new($stdout).tap do |log|
    log.progname = name
  end
end

Class Method Details

.configurationObject



14
15
16
# File 'lib/loi_parser.rb', line 14

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



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

def configure
  yield(configuration)
end