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
46 47 48 |
# File 'lib/cucumber/core/ast/location.rb', line 46 def file @file end |
Instance Method Details
#include?(lines) ⇒ Boolean
55 56 57 |
# File 'lib/cucumber/core/ast/location.rb', line 55 def include?(lines) true end |
#match?(other) ⇒ Boolean
51 52 53 |
# File 'lib/cucumber/core/ast/location.rb', line 51 def match?(other) other.file == file end |
#to_s ⇒ Object
47 48 49 |
# File 'lib/cucumber/core/ast/location.rb', line 47 def to_s file end |