Sha256: 8c72519ccc10a27e4f3a5073c2e975b350a6755eb1c08620a348c7bb5f9155ad

Contents?: true

Size: 596 Bytes

Versions: 5

Compression:

Stored size: 596 Bytes

Contents

require 'vedeu/output/presentation/presentation'

module Vedeu

  module Null

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

      include Vedeu::Presentation

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

    end # View

  end # Null

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.6.13 lib/vedeu/null/view.rb
vedeu-0.6.12 lib/vedeu/null/view.rb
vedeu-0.6.11 lib/vedeu/null/view.rb
vedeu-0.6.10 lib/vedeu/null/view.rb
vedeu-0.6.9 lib/vedeu/null/view.rb