Method: Enforce::DSL#text
- Defined in:
- lib/enforce/dsl.rb
#text(content) ⇒ Object
36 37 38 39 |
# File 'lib/enforce/dsl.rb', line 36 def text(content) pass = File.read(last_file).include?(content) add_result message: "text `#{content}`", pass: pass end |