lib/vedeu/views/lines.rb in vedeu-0.8.12 vs lib/vedeu/views/lines.rb in vedeu-0.8.13

- old
+ new

@@ -34,12 +34,12 @@ elsif collection.is_a?(Vedeu::Views::Line) new([collection], parent, name) else - fail Vedeu::Error::InvalidSyntax, - 'Cannot coerce for Vedeu::View::Lines, as collection ' \ - 'unrecognised.' + raise Vedeu::Error::InvalidSyntax, + 'Cannot coerce for Vedeu::View::Lines, as collection ' \ + 'unrecognised.' end end alias lines value