Module: Conpar

Extended by:
Conpar
Included in:
Conpar
Defined in:
lib/conpar.rb,
lib/conpar/version.rb,
lib/conpar/document.rb,
lib/conpar/directive.rb,
lib/conpar/configuration.rb,
lib/conpar/directive/base.rb,
lib/conpar/directive/empty.rb,
lib/conpar/directive/comment.rb,
lib/conpar/directive/access_list.rb,
lib/conpar/directive/access_list/base.rb,
lib/conpar/directive/access_list/remark.rb,
lib/conpar/directive/access_list/extended.rb,
lib/conpar/directive/access_list/web_type.rb,
lib/conpar/directive/access_list/standard.rb,
lib/conpar/directive/access_list/ether_type.rb,
lib/conpar/directive/access_list/unknown_type.rb

Overview

Gem Root Namespace

Defined Under Namespace

Modules: Directive Classes: Configuration, Document

Constant Summary collapse

VERSION =
"0.2.3"

Instance Method Summary collapse

Instance Method Details

#configConfiguration

Returns:


15
16
17
# File 'lib/conpar.rb', line 15

def config
  @@config ||= Configuration.new
end

#configure {|Configuration| ... } ⇒ Object

Modify configuration for library

Yields:


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

def configure
  yield self.config if block_given?
end