lib/tap/support/lazy_attributes.rb in bahuvrihi-tap-0.10.4 vs lib/tap/support/lazy_attributes.rb in bahuvrihi-tap-0.10.5
- old
+ new
@@ -20,10 +20,10 @@
end
private
def get_lazy_attr(attribute)
- lazydoc[self.to_s][attribute] || (lazydoc.attributes(self.to_s)[attribute] = Tap::Support::Comment.new)
+ lazydoc[self.to_s][attribute] ||= Lazydoc::Comment.new
end
end
end
end
\ No newline at end of file