Module: Typesmith

Defined in:
lib/typesmith.rb,
lib/typesmith/version.rb,
lib/typesmith/generator.rb,
lib/typesmith/definition.rb,
lib/typesmith/base_property.rb,
lib/typesmith/array_property.rb,
lib/typesmith/nested_property.rb,
lib/typesmith/simple_property.rb,
lib/typesmith/indexed_property.rb

Defined Under Namespace

Classes: ArrayProperty, BaseProperty, Definition, Error, Generator, IndexedProperty, NestedProperty, SimpleProperty

Constant Summary collapse

VERSION =
"0.3.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loaderObject

Returns the value of attribute loader.



10
11
12
# File 'lib/typesmith.rb', line 10

def loader
  @loader
end

Class Method Details

.setupObject



12
13
14
15
# File 'lib/typesmith.rb', line 12

def setup
  self.loader = Zeitwerk::Loader.for_gem
  loader.setup
end