Class: SystemTester::Feature

Inherits:
ApplicationRecord show all
Includes:
Fileable, TitleValidatable
Defined in:
app/models/system_tester/feature.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject Also known as: code_to_write



9
10
11
12
13
14
15
# File 'app/models/system_tester/feature.rb', line 9

def to_s
  str = ""
  str << open
  str << scenarios.map(&:to_s).join("")
  str << close
  str
end