Sha256: bf4ddcd9e1ce5a9e9f871b6b96b7350b96d16c32d20a1e67c7f036cddb4dcd7f

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 Bytes

Contents

require 'vedeu/output/presentation'

module Vedeu

  module Null

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

      include Vedeu::Presentation

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

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

    end # Interface

  end # Null

end # Vedeu

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.6.8 lib/vedeu/null/interface.rb
vedeu-0.6.7 lib/vedeu/null/interface.rb