Class: Background

Inherits:
SimpleGherkinCollection show all
Defined in:
lib/cuker/models/models_ready.rb

Instance Attribute Summary

Attributes inherited from SimpleGherkinCollection

#comments, #title

Attributes inherited from Collection

#items, #keyword

Attributes inherited from Item

#content

Instance Method Summary collapse

Methods inherited from SimpleGherkinCollection

#parse_title

Methods inherited from Collection

#to_s

Methods inherited from Item

#to_s

Constructor Details

#initialize(content_str) ⇒ Background

Returns a new instance of Background.



83
84
85
86
# File 'lib/cuker/models/models_ready.rb', line 83

def initialize content_str
  @keyword = "Background:"
  super content_str, keyword
end