class Cucumber::Core::Ast::Comment

Attributes

location[R]
value[R]

Public Class Methods

new(location, value) click to toggle source
# File lib/cucumber/core/ast/comment.rb, line 13
def initialize(location, value)
  @location = location
  @value = value
end

Public Instance Methods

inspect() click to toggle source
# File lib/cucumber/core/ast/comment.rb, line 22
def inspect
  %{#<#{self.class} #{value} (#{location})}
end
to_s() click to toggle source
# File lib/cucumber/core/ast/comment.rb, line 18
def to_s
  value
end