lib/vedeu/null/interface.rb in vedeu-0.5.6 vs lib/vedeu/null/interface.rb in vedeu-0.5.7
- old
+ new
@@ -29,11 +29,11 @@
# @option attributes name [String]
# @return [Vedeu::Null::Interface]
def initialize(attributes = {})
@attributes = attributes
@name = @attributes[:name]
- @visible = @attributes[:visible]
+ @visible = false
end
# @return [NilClass]
def null
nil
@@ -52,16 +52,9 @@
# Pretend to store this model in the repository.
#
# @return [Vedeu::Null::Interface]
def store
self
- end
-
- # The null interface should not be visible.
- #
- # @return [FalseClass]
- def visible?
- false
end
end # Interface
end # Null