lib/vedeu/models/interfaces.rb in vedeu-0.5.7 vs lib/vedeu/models/interfaces.rb in vedeu-0.5.8
- old
+ new
@@ -2,14 +2,10 @@
# Allows the storing of interfaces and views.
#
class Interfaces < Vedeu::Repository
- class << self
-
- alias_method :interfaces, :repository
-
- end # Eigenclass
+ singleton_class.send(:alias_method, :interfaces, :repository)
null Vedeu::Null::Interface
real Vedeu::Interface
# Returns the interfaces in zindex order.