Class: Cucumber::Core::Gherkin::Document
- Inherits:
-
Object
- Object
- Cucumber::Core::Gherkin::Document
- Defined in:
- lib/cucumber/core/gherkin/document.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
8 9 10 |
# File 'lib/cucumber/core/gherkin/document.rb', line 8 def body @body end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
8 9 10 |
# File 'lib/cucumber/core/gherkin/document.rb', line 8 def uri @uri end |
Instance Method Details
#==(other) ⇒ Object
14 15 16 |
# File 'lib/cucumber/core/gherkin/document.rb', line 14 def ==(other) to_s == other.to_s end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/cucumber/core/gherkin/document.rb', line 10 def to_s body end |