Method: Cucumber::Messages::Examples#initialize

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

#initialize(location: Location.new, tags: [], keyword: '', name: '', description: '', table_header: nil, table_body: [], id: '') ⇒ Examples

Returns a new instance of Examples.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/cucumber/messages/examples.rb', line 30

def initialize(
  location: Location.new,
  tags: [],
  keyword: '',
  name: '',
  description: '',
  table_header: nil,
  table_body: [],
  id: ''
)
  @location = location
  @tags = tags
  @keyword = keyword
  @name = name
  @description = description
  @table_header = table_header
  @table_body = table_body
  @id = id
  super()
end