Sha256: e0ac0e8587f82c9bfcf1ba1dff5415f8b5b6e4cfae7b7d9c88f9c6cbd6365064

Contents?: true

Size: 204 Bytes

Versions: 12

Compression:

Stored size: 204 Bytes

Contents

module Bogus
  class OverwrittenClasses
    def add(name, klass)
      classes << [name, klass]
    end

    def clear
      @classes = []
    end

    def classes
      @classes ||= []
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bogus-0.1.7 lib/bogus/fakes/overwriten_classes.rb
bogus-0.1.6 lib/bogus/fakes/overwriten_classes.rb
bogus-0.1.5 lib/bogus/fakes/overwriten_classes.rb
bogus-0.1.4 lib/bogus/fakes/overwriten_classes.rb
bogus-0.1.3 lib/bogus/overwriten_classes.rb
bogus-0.1.2 lib/bogus/overwriten_classes.rb
bogus-0.1.1 lib/bogus/overwriten_classes.rb
bogus-0.1.0 lib/bogus/overwriten_classes.rb
bogus-0.0.4 lib/bogus/overwriten_classes.rb
bogus-0.0.3 lib/bogus/overwriten_classes.rb
bogus-0.0.3.rc.2 lib/bogus/overwriten_classes.rb
bogus-0.0.3.rc.1 lib/bogus/overwriten_classes.rb