Sha256: 4cda98c8044eaf61a6e29d1611a2fcd3e703f01d094ea886f5764bff5533e85c

Contents?: true

Size: 656 Bytes

Versions: 8

Compression:

Stored size: 656 Bytes

Contents

# frozen_string_literal: true

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

8 entries across 8 versions & 1 rubygems

Version Path
assert-2.19.8 test/support/inherited_stuff.rb
assert-2.19.7 test/support/inherited_stuff.rb
assert-2.19.6 test/support/inherited_stuff.rb
assert-2.19.5 test/support/inherited_stuff.rb
assert-2.19.4 test/support/inherited_stuff.rb
assert-2.19.3 test/support/inherited_stuff.rb
assert-2.19.2 test/support/inherited_stuff.rb
assert-2.19.1 test/support/inherited_stuff.rb