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