Method: NanDoc::MockPrompt#out
- Defined in:
- lib/nandoc/spec-doc/mock-prompt.rb
#out(string, opts = {}) ⇒ Object
64 65 66 67 68 |
# File 'lib/nandoc/spec-doc/mock-prompt.rb', line 64 def out string, opts={} exp = reindent(string) @record && @recordings.add(:out, exp) assert_equal_strings exp, @last_out, opts end |