Method: Cucumber::Messages::DocString#initialize

Defined in:
lib/cucumber/messages/doc_string.rb

#initialize(location: Location.new, media_type: nil, content: '', delimiter: '') ⇒ DocString

Returns a new instance of DocString.



19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/cucumber/messages/doc_string.rb', line 19

def initialize(
  location: Location.new,
  media_type: nil,
  content: '',
  delimiter: ''
)
  @location = location
  @media_type = media_type
  @content = content
  @delimiter = delimiter
  super()
end