Class: EchSpec::SpecGroup
- Inherits:
-
Object
- Object
- EchSpec::SpecGroup
- Defined in:
- lib/echspec/spec_group.rb
Instance Attribute Summary collapse
-
#section ⇒ Object
readonly
Returns the value of attribute section.
-
#spec_cases ⇒ Object
readonly
Returns the value of attribute spec_cases.
Instance Method Summary collapse
-
#initialize(section, spec_cases) ⇒ SpecGroup
constructor
A new instance of SpecGroup.
Constructor Details
#initialize(section, spec_cases) ⇒ SpecGroup
Returns a new instance of SpecGroup.
5 6 7 8 |
# File 'lib/echspec/spec_group.rb', line 5 def initialize(section, spec_cases) @section = section @spec_cases = spec_cases end |
Instance Attribute Details
#section ⇒ Object (readonly)
Returns the value of attribute section.
3 4 5 |
# File 'lib/echspec/spec_group.rb', line 3 def section @section end |
#spec_cases ⇒ Object (readonly)
Returns the value of attribute spec_cases.
3 4 5 |
# File 'lib/echspec/spec_group.rb', line 3 def spec_cases @spec_cases end |