Module: UtilityClasses

Defined in:
lib/utility_classes.rb,
lib/utility_classes/railtie.rb,
lib/utility_classes/version.rb,
lib/utility_classes/utility_class_reader.rb,
lib/generators/utility_classes/install_generator.rb,
lib/utility_classes/exceptions/type_key_not_found.rb,
lib/utility_classes/exceptions/variant_key_not_found.rb

Overview

Namespace for UtilityClasses gem

Defined Under Namespace

Modules: Exceptions, Generators Classes: Railtie, UtilityClassReader

Constant Summary collapse

VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

.for(type, variant: nil) ⇒ Object



22
23
24
# File 'lib/utility_classes.rb', line 22

def self.for(type, variant: nil)
  reader.for(type, variant: variant)
end

.readerObject



18
19
20
# File 'lib/utility_classes.rb', line 18

def self.reader
  @reader ||= UtilityClassReader.new
end