Method: Erudite::Executable.format_example
- Defined in:
- lib/erudite/executable.rb
.format_example(example) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/erudite/executable.rb', line 10 def self.format_example(example) if example.pass? format_passing_example(example) else format_failing_example(example) end end |