lib/tracksperanto/safety.rb in tracksperanto-2.8.6 vs lib/tracksperanto/safety.rb in tracksperanto-2.9.0

- old
+ new

@@ -1,5 +1,6 @@ +# -*- encoding : utf-8 -*- # Implements the +safe_reader+ class method which will define (or override) readers that # raise if ivar is nil module Tracksperanto::Safety def self.included(into) into.extend(self) @@ -15,6 +16,6 @@ raise "Expected #{an_attr} on #{self} not to be nil" if val.nil? val end end end -end \ No newline at end of file +end