class Cucumber::Core::Gherkin::Document

Attributes

body[R]
language[R]
uri[R]

Public Class Methods

new(uri, body, language=nil) click to toggle source
# File lib/cucumber/core/gherkin/document.rb, line 9
def initialize(uri, body, language=nil)
  @uri      = uri
  @body     = body
  @language = language || 'en'
end

Public Instance Methods

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