Class: DocRSpec::Compiler
- Inherits:
-
Object
- Object
- DocRSpec::Compiler
- Defined in:
- lib/doc_rspec/compiler.rb
Defined Under Namespace
Classes: IncorrectSpec
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
Instance Attribute Details
#example_group ⇒ Object (readonly)
Returns the value of attribute example_group.
7 8 9 |
# File 'lib/doc_rspec/compiler.rb', line 7 def example_group @example_group end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/doc_rspec/compiler.rb', line 7 def path @path end |
#spec_definitions ⇒ Object (readonly)
Returns the value of attribute spec_definitions.
7 8 9 |
# File 'lib/doc_rspec/compiler.rb', line 7 def spec_definitions @spec_definitions end |
Instance Method Details
#compile ⇒ Object
9 10 11 |
# File 'lib/doc_rspec/compiler.rb', line 9 def compile spec_definitions.each { compile_context it } end |