class RSpecApib::Config

Configuration

Attributes

default_blueprint_file[RW]

Public Instance Methods

batch_configure() { |self| ... } click to toggle source
# File lib/rspec_apib/config.rb, line 6
def batch_configure
  yield self
end
default_parser() click to toggle source

The default Parser If a single blueprint file is used throughout specs then by not specifying your own parser in your examples, this default will be used which has pre parsed the default blueprint file @return [::RSpecApib::Parser] The parser

# File lib/rspec_apib/config.rb, line 15
def default_parser
  @default_parser ||= Parser.new.tap { |parser| parser.parse_file(default_blueprint_file) }
end