Sha256: 630a56df854b70d91208b9de459bf178b512cc6dcb81275809952ecdf68cd4a8
Contents?: true
Size: 1013 Bytes
Versions: 2
Compression:
Stored size: 1013 Bytes
Contents
module Vedeu module Null # Provides a non-existent Vedeu::Buffer that acts like the real thing, but # does nothing. # # @api private class Buffer # @!attribute [r] name # @return [String] attr_reader :name # Returns a new instance of Vedeu::Null::Buffer. # # @param attributes [Hash<Symbol => void>] # @option attributes name [String|NilClass] # @return [Vedeu::Null::Buffer] def initialize(attributes = {}) @attributes = attributes @name = @attributes[:name] end # @return [NilClass] def clear nil end # @return [NilClass] def hide nil end # @return [Boolean] def null? true end # @return [NilClass] def render nil end # @return [NilClass] def show nil end # @return [NilClass] def toggle nil end end # Buffer end # Null end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.56 | lib/vedeu/null/buffer.rb |
vedeu-0.4.55 | lib/vedeu/null/buffer.rb |