Class: EchSpec::SpecCase

Inherits:
Object
  • Object
show all
Defined in:
lib/echspec/spec_case.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (readonly)

Returns the value of attribute description.



3
4
5
# File 'lib/echspec/spec_case.rb', line 3

def description
  @description
end

#methodObject (readonly)

Returns the value of attribute method.



3
4
5
# File 'lib/echspec/spec_case.rb', line 3

def method
  @method
end