Sha256: 08380cde3d9ea4ae278416aa8b8a32a10645d041a1bfad0224836604740ee0c9
Contents?: true
Size: 968 Bytes
Versions: 6
Compression:
Stored size: 968 Bytes
Contents
module Vedeu module Null # Provides a non-existent model to swallow messages. # # @api private class Generic # Returns an instance of the Vedeu::Null::Generic class. # # @return [Vedeu::Null::Generic] def initialize; end # @return [NilClass] def add(*) nil end # @return [NilClass] def colour nil end # @return [Boolean] def null? true end # @return [NilClass] def parent nil end # @return [Vedeu::Null::Generic] def store self end # @return [NilClass] def style nil end # The generic null should not be visible. # # @return [FalseClass] def visible? false end alias_method :visible, :visible? # @return [FalseClass] def visible=(*) false end end # Generic end # Null end # Vedeu
Version data entries
6 entries across 6 versions & 1 rubygems