Module: Micronaut
- Defined in:
- lib/micronaut.rb,
lib/micronaut/world.rb,
lib/micronaut/runner.rb,
lib/micronaut/example.rb,
lib/micronaut/matchers.rb,
lib/micronaut/behaviour.rb,
lib/micronaut/rake_task.rb,
lib/micronaut/formatters.rb,
lib/micronaut/matchers/be.rb,
lib/micronaut/expectations.rb,
lib/micronaut/matchers/eql.rb,
lib/micronaut/matchers/has.rb,
lib/micronaut/configuration.rb,
lib/micronaut/matchers/have.rb,
lib/micronaut/matchers/equal.rb,
lib/micronaut/matchers/match.rb,
lib/micronaut/matchers/change.rb,
lib/micronaut/mocking/with_rr.rb,
lib/micronaut/matchers/include.rb,
lib/micronaut/matchers/satisfy.rb,
lib/micronaut/kernel_extensions.rb,
lib/micronaut/matchers/be_close.rb,
lib/micronaut/mocking/with_mocha.rb,
lib/micronaut/matchers/respond_to.rb,
lib/micronaut/expectations/handler.rb,
lib/micronaut/matchers/raise_error.rb,
lib/micronaut/matchers/throw_symbol.rb,
lib/micronaut/matchers/method_missing.rb,
lib/micronaut/matchers/simple_matcher.rb,
lib/micronaut/formatters/base_formatter.rb,
lib/micronaut/matchers/operator_matcher.rb,
lib/micronaut/expectations/wrap_expectation.rb,
lib/micronaut/formatters/progress_formatter.rb,
lib/micronaut/expectations/extensions/object.rb,
lib/micronaut/formatters/base_text_formatter.rb,
lib/micronaut/matchers/generated_descriptions.rb,
lib/micronaut/mocking/with_absolutely_nothing.rb,
lib/micronaut/formatters/documentation_formatter.rb
Defined Under Namespace
Modules: Expectations, Formatters, KernelExtensions, Matchers, Mocking Classes: Behaviour, Configuration, Example, RakeTask, Runner, World
Constant Summary collapse
- InstallDirectory =
‘./lib’ in project dir, or ‘/usr/local/blahblah’ if installed
File.(File.dirname(File.dirname(file)) + "/lib")
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
28 29 30 |
# File 'lib/micronaut.rb', line 28 def self.configuration @configuration ||= Micronaut::Configuration.new end |
.configure {|configuration| ... } ⇒ Object
32 33 34 |
# File 'lib/micronaut.rb', line 32 def self.configure yield configuration if block_given? end |