Sha256: 86bb14ad23ca49b614f8b85c9219a5fd1e002994f6f314c4df0b3981402997b4
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'typesafe' require 'spec' require 'spec/autorun' Spec::Runner.configure do |config| end # a class hierarchy to check # plain module module ModA def moda_method ; end end # plain class class ClassA end # class derived from ClassA class ClassB < ClassA end # plain class, extends module ModA, thereby descending ModA class ClassC extend ModA end # plain class, includes module ModA, thereby not descending ModA class ClassD include ModA end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
tsalzer-typesafe-0.0.2 | spec/spec_helper.rb |
typesafe-0.0.2 | spec/spec_helper.rb |