Class: Cucumber::Core::Ast::Location::Wildcard
- Inherits:
-
Struct
- Object
- Struct
- Cucumber::Core::Ast::Location::Wildcard
- Defined in:
- lib/cucumber/core/ast/location.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
Instance Method Summary collapse
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file
47 48 49 |
# File 'lib/cucumber/core/ast/location.rb', line 47 def file @file end |
Instance Method Details
#include?(lines) ⇒ Boolean
56 57 58 |
# File 'lib/cucumber/core/ast/location.rb', line 56 def include?(lines) true end |
#match?(other) ⇒ Boolean
52 53 54 |
# File 'lib/cucumber/core/ast/location.rb', line 52 def match?(other) other.file == file end |
#to_s ⇒ Object
48 49 50 |
# File 'lib/cucumber/core/ast/location.rb', line 48 def to_s file end |