Class: DocRSpec::Compiler
- Inherits:
-
Object
- Object
- DocRSpec::Compiler
- Includes:
- Debugging
- Defined in:
- lib/doc_rspec/compiler.rb
Defined Under Namespace
Classes: IncorrectSpec
Constant Summary
Constants included from Debugging
Instance Attribute Summary collapse
-
#example_group ⇒ Object
readonly
Returns the value of attribute example_group.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#spec_definitions ⇒ Object
readonly
Returns the value of attribute spec_definitions.
Instance Method Summary collapse
Methods included from Debugging
Instance Attribute Details
#example_group ⇒ Object (readonly)
Returns the value of attribute example_group.
8 9 10 |
# File 'lib/doc_rspec/compiler.rb', line 8 def example_group @example_group end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/doc_rspec/compiler.rb', line 8 def path @path end |
#spec_definitions ⇒ Object (readonly)
Returns the value of attribute spec_definitions.
8 9 10 |
# File 'lib/doc_rspec/compiler.rb', line 8 def spec_definitions @spec_definitions end |
Instance Method Details
#compile ⇒ Object
10 11 12 |
# File 'lib/doc_rspec/compiler.rb', line 10 def compile spec_definitions.each { compile_context it } end |