Method: Unified::Diff.parse!
- Defined in:
- lib/unified/diff.rb
.parse!(content) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/unified/diff.rb', line 19 def self.parse!(content) begin Unified::Transformer.new.apply(Unified::Parser.new.parse(content)) rescue StandardError => e raise Unified::ParseError, e. end end |