Sha256: 153d22553a8783bbb3645477d85c95919980a1fe0aff60fcc50b1a8960f21817

Contents?: true

Size: 177 Bytes

Versions: 12

Compression:

Stored size: 177 Bytes

Contents

module Percheron
  NullUnit = Naught.build do |config|
    config.mimic Unit

    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.8.1 lib/percheron/null_unit.rb
percheron-0.8.0 lib/percheron/null_unit.rb
percheron-0.7.16 lib/percheron/null_unit.rb
percheron-0.7.15 lib/percheron/null_unit.rb
percheron-0.7.14 lib/percheron/null_unit.rb
percheron-0.7.13 lib/percheron/null_unit.rb
percheron-0.7.12 lib/percheron/null_unit.rb
percheron-0.7.11 lib/percheron/null_unit.rb
percheron-0.7.10 lib/percheron/null_unit.rb
percheron-0.7.9 lib/percheron/null_unit.rb
percheron-0.7.8 lib/percheron/null_unit.rb
percheron-0.7.7 lib/percheron/null_unit.rb