Module: Isorun

Extended by:
ActiveSupport::Autoload
Defined in:
lib/isorun/config.rb,
lib/isorun.rb,
lib/isorun/engine.rb,
lib/isorun/module.rb,
lib/isorun/context.rb,
lib/isorun/version.rb,
lib/isorun/function.rb,
lib/isorun/resolver.rb,
lib/isorun/config/option.rb,
app/helpers/isorun/app_helper.rb,
lib/isorun/config/validations.rb,
app/helpers/isorun/vite_app_helper.rb,
lib/isorun/config/abstract_builder.rb

Overview

Defined Under Namespace

Modules: AppHelper, Resolver, ViteAppHelper Classes: Config, Context, Engine, Error, Function, MissingConfiguration, MissingConfigurationBuilderClass, Module

Constant Summary collapse

VERSION =
"0.1.13"

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



23
24
25
# File 'lib/isorun/config.rb', line 23

def configuration
  @config || (raise MissingConfiguration)
end

.configure(&block) ⇒ Object



19
20
21
# File 'lib/isorun/config.rb', line 19

def configure(&block)
  @config = Config::Builder.new(&block).build
end