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
41 42 43 |
# File 'lib/cucumber/core/ast/location.rb', line 41 def filename @filename end |
Instance Method Details
#same_as?(other) ⇒ Boolean
42 43 44 |
# File 'lib/cucumber/core/ast/location.rb', line 42 def same_as?(other) filename == other.filename end |
#to_s ⇒ Object
46 47 48 |
# File 'lib/cucumber/core/ast/location.rb', line 46 def to_s filename end |