class Cucumber::Core::Gherkin::Document

Attributes

body[R]
uri[R]

Public Class Methods

new(uri, body) click to toggle source
# File lib/cucumber/core/gherkin/document.rb, line 8
def initialize(uri, body)
  @uri = uri
  @body = body
end

Public Instance Methods

==(other) click to toggle source
# File lib/cucumber/core/gherkin/document.rb, line 17
def ==(other)
  to_s == other.to_s
end
to_s() click to toggle source
# File lib/cucumber/core/gherkin/document.rb, line 13
def to_s
  body
end