Sha256: d89bfa4eac2b88d878b3306e452f96fc90fb922e6831b6477c29867dccd63e5d

Contents?: true

Size: 625 Bytes

Versions: 6

Compression:

Stored size: 625 Bytes

Contents

module MixinStuff
  def test_mixin_stuff
    "from mixin"
  end

  def mixednottestmeth
    "mixed in not test meth"
  end
end

class SuperStuff
  def superclass_stuff
    "from superclass"
  end

  def other_stuff
    "super not test meth"
  end

  def test_from_super
    "test from the super"
  end

  def test_repeated
    "repeated test from super"
  end
end

class SubStuff < SuperStuff
  include MixinStuff

  def test_subclass_stuff
    "from subclass"
  end

  def nottestmeth
    "not test meth"
  end

  def more_other_stuff
    "more other stuff"
  end

  def test_repeated
    "repeated test from sub"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
assert-2.19.0 test/support/inherited_stuff.rb
assert-2.18.4 test/support/inherited_stuff.rb
assert-2.18.3 test/support/inherited_stuff.rb
assert-2.18.2 test/support/inherited_stuff.rb
assert-2.18.1 test/support/inherited_stuff.rb
assert-2.18.0 test/support/inherited_stuff.rb