Class: Cukedep::FeatureFileRep
- Inherits:
-
Object
- Object
- Cukedep::FeatureFileRep
- Defined in:
- lib/cukedep/gherkin-listener.rb
Instance Attribute Summary collapse
-
#feature ⇒ Object
Returns the value of attribute feature.
-
#filepath ⇒ Object
readonly
Returns the value of attribute filepath.
Instance Method Summary collapse
- #basename ⇒ Object
-
#initialize(aFilepath) ⇒ FeatureFileRep
constructor
A new instance of FeatureFileRep.
Constructor Details
#initialize(aFilepath) ⇒ FeatureFileRep
Returns a new instance of FeatureFileRep.
11 12 13 |
# File 'lib/cukedep/gherkin-listener.rb', line 11 def initialize(aFilepath) @filepath = aFilepath end |
Instance Attribute Details
#feature ⇒ Object
Returns the value of attribute feature.
9 10 11 |
# File 'lib/cukedep/gherkin-listener.rb', line 9 def feature @feature end |
#filepath ⇒ Object (readonly)
Returns the value of attribute filepath.
8 9 10 |
# File 'lib/cukedep/gherkin-listener.rb', line 8 def filepath @filepath end |
Instance Method Details
#basename ⇒ Object
15 16 17 |
# File 'lib/cukedep/gherkin-listener.rb', line 15 def basename File.basename(filepath) end |