Class: SystemTester::Feature
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SystemTester::Feature
- Includes:
- Fileable, TitleValidatable
- Defined in:
- app/models/system_tester/feature.rb
Instance Method Summary collapse
- #to_s ⇒ Object (also: #code_to_write)
Instance Method Details
#to_s ⇒ Object 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 |