Sha256: 928b7b9cdb52bace2bb97a45cf9f5ad7a798717c18fc75712c4b3dffe88fdf1d

Contents?: true

Size: 187 Bytes

Versions: 12

Compression:

Stored size: 187 Bytes

Contents

module Percheron
  NullContainer = Naught.build do |config|
    config.mimic Container

    def info
      {}
    end

    def kind_of?(klass)
      self.class == klass
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
percheron-0.7.6 lib/percheron/null_container.rb
percheron-0.7.5 lib/percheron/null_container.rb
percheron-0.7.4 lib/percheron/null_container.rb
percheron-0.7.3 lib/percheron/null_container.rb
percheron-0.7.2 lib/percheron/null_container.rb
percheron-0.7.1 lib/percheron/null_container.rb
percheron-0.7.0 lib/percheron/null_container.rb
percheron-0.6.4 lib/percheron/null_container.rb
percheron-0.6.3 lib/percheron/null_container.rb
percheron-0.6.2 lib/percheron/null_container.rb
percheron-0.6.1 lib/percheron/null_container.rb
percheron-0.6.0 lib/percheron/null_container.rb