lib/vedeu/borders/borders.rb in vedeu-0.5.7 vs lib/vedeu/borders/borders.rb in vedeu-0.5.8
- old
+ new
@@ -3,14 +3,10 @@
# Allows the storing of interface/view borders independent of the interface
# instance.
#
class Borders < Vedeu::Repository
- class << self
-
- alias_method :borders, :repository
-
- end # Eigenclass
+ singleton_class.send(:alias_method, :borders, :repository)
null Vedeu::Null::Border
real Vedeu::Border
end # Borders