Class: Cucumber::Core::Ast::Location::FilePath
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Core::Ast::Location::FilePath
- Defined in:
- lib/cucumber/core/ast/location.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename
50 51 52 |
# File 'lib/cucumber/core/ast/location.rb', line 50 def filename @filename end |
Instance Method Details
#same_as?(other) ⇒ Boolean
51 52 53 |
# File 'lib/cucumber/core/ast/location.rb', line 51 def same_as?(other) filename == other.filename end |
#to_s ⇒ Object
55 56 57 |
# File 'lib/cucumber/core/ast/location.rb', line 55 def to_s filename end |