lib/vedeu/repositories/repositories/borders.rb in vedeu-0.4.33 vs lib/vedeu/repositories/repositories/borders.rb in vedeu-0.4.34
- old
+ new
@@ -6,13 +6,19 @@
# @api public
class Borders < Repository
class << self
+ # @example
+ # Vedeu.borders
+ #
# @return [Vedeu::Borders]
alias_method :borders, :repository
# Remove all stored models from the repository.
+ #
+ # @example
+ # Vedeu.borders.reset
#
# @return [Vedeu::Borders]
def reset!
@borders = register(Vedeu::Border)
end