Sha256: f749123494bf892a6035180857fe5e03ca57ae610ead9d4cbc7b6c12b00bf153

Contents?: true

Size: 658 Bytes

Versions: 14

Compression:

Stored size: 658 Bytes

Contents

module Vedeu

  module Null

    # Provides a non-existent Vedeu::Buffer that acts like the real thing, but
    # does nothing.
    class Buffer

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

      # @param name [String]
      # @return [Vedeu::Null::Buffer]
      def initialize(name)
        @name = name
      end

      # @return [NilClass]
      def clear
        nil
      end

      # @return [NilClass]
      def hide
        nil
      end

      # @return [NilClass]
      def render
        nil
      end

      # @return [NilClass]
      def show
        nil
      end

    end # Buffer

  end # Null

end # Vedeu

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vedeu-0.4.32 lib/vedeu/null/buffer.rb
vedeu-0.4.31 lib/vedeu/null/buffer.rb
vedeu-0.4.30 lib/vedeu/null/buffer.rb
vedeu-0.4.29 lib/vedeu/null/buffer.rb
vedeu-0.4.28 lib/vedeu/null/buffer.rb
vedeu-0.4.27 lib/vedeu/null/buffer.rb
vedeu-0.4.26 lib/vedeu/null/buffer.rb
vedeu-0.4.25 lib/vedeu/null/buffer.rb
vedeu-0.4.24 lib/vedeu/null/buffer.rb
vedeu-0.4.23 lib/vedeu/null/buffer.rb
vedeu-0.4.22 lib/vedeu/null/buffer.rb
vedeu-0.4.21 lib/vedeu/null/buffer.rb
vedeu-0.4.20 lib/vedeu/null/buffer.rb
vedeu-0.4.19 lib/vedeu/null/buffer.rb