Module: Thy::Types

Included in:
Thy
Defined in:
lib/thy/types.rb,
lib/thy/types/map.rb,
lib/thy/types/nil.rb,
lib/thy/types/enum.rb,
lib/thy/types/hash.rb,
lib/thy/types/time.rb,
lib/thy/types/array.rb,
lib/thy/types/float.rb,
lib/thy/types/option.rb,
lib/thy/types/string.rb,
lib/thy/types/symbol.rb,
lib/thy/types/boolean.rb,
lib/thy/types/integer.rb,
lib/thy/types/numeric.rb,
lib/thy/types/variant.rb,
lib/thy/types/datetime.rb,
lib/thy/types/instance_of.rb,
lib/thy/types/untyped_hash.rb,
lib/thy/types/untyped_array.rb,
lib/thy/types/class_extending.rb

Defined Under Namespace

Modules: Boolean, ClassMethods, DateTime, Float, Integer, Nil, Numeric, String, Symbol, Time, UntypedArray, UntypedHash Classes: Array, ClassExtending, Enum, Hash, InstanceOf, Map, Option, Variant

Class Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



4
5
6
# File 'lib/thy/types.rb', line 4

def self.included(mod)
  mod.extend(ClassMethods)
end