Sha256: 8e6bb9ca97f6f9b686d89a99feaf97e4de234096eabd0f43cc478cb38ff12144

Contents?: true

Size: 668 Bytes

Versions: 4

Compression:

Stored size: 668 Bytes

Contents

module Vedeu

  module Interfaces

    # Provides a non-existent model to swallow messages.
    #
    class Null < Vedeu::Null::Generic

      include Vedeu::Presentation

      # @!attribute [r] attributes
      # @return [String]
      attr_reader :attributes

      # Returns a new instance of Vedeu::Interfaces::Null.
      #
      # @param attributes [Hash<Symbol => void>]
      # @option attributes name [String|Symbol]
      # @return [Vedeu::Interfaces::Null]
      def initialize(attributes = {})
        @attributes = attributes
        @name       = @attributes[:name]
        @visible    = false
      end

    end # Null

  end # Interfaces

end # Vedeu

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vedeu-0.6.32 lib/vedeu/interfaces/null.rb
vedeu-0.6.31 lib/vedeu/interfaces/null.rb
vedeu-0.6.30 lib/vedeu/interfaces/null.rb
vedeu-0.6.29 lib/vedeu/interfaces/null.rb