lib/vedeu/views/view.rb in vedeu-0.8.12 vs lib/vedeu/views/view.rb in vedeu-0.8.13
- old
+ new
@@ -127,11 +127,11 @@
def update_buffer(refresh = false)
if present?(name)
buffer.add(self, refresh)
else
- fail Vedeu::Error::MissingRequired,
- 'Cannot store a view without a name.'
+ raise Vedeu::Error::MissingRequired,
+ 'Cannot store a view without a name.'
end
self
end