Module: RSpec::Undefined

Defined in:
lib/rspec/undefined.rb,
lib/rspec/undefined/dsl.rb,
lib/rspec/undefined/entry.rb,
lib/rspec/undefined/version.rb,
lib/rspec/undefined/matchers.rb,
lib/rspec/undefined/registry.rb,
lib/rspec/undefined/formatter.rb,
lib/rspec/undefined/sentinels.rb,
lib/rspec/undefined/categories.rb,
lib/rspec/undefined/configuration.rb,
lib/rspec/undefined/reporters/json.rb,
lib/rspec/undefined/reporters/yaml.rb,
lib/rspec/undefined/reporters/markdown.rb

Defined Under Namespace

Modules: Categories, DSL, Matchers, Reporters, Sentinels Classes: Configuration, Entry, Error, Formatter, Registry

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.configurationObject



157
158
159
# File 'lib/rspec/undefined/matchers.rb', line 157

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



161
162
163
# File 'lib/rspec/undefined/matchers.rb', line 161

def configure
  yield configuration
end

.registryObject



153
154
155
# File 'lib/rspec/undefined/matchers.rb', line 153

def registry
  Registry.instance
end