Sha256: a28c3abf9e6d1f2e840f3156782271abf7037ff4ec2d73efde5bafae1ef47c7e

Contents?: true

Size: 493 Bytes

Versions: 22

Compression:

Stored size: 493 Bytes

Contents

class Lono::Extensions
  class Register < Lono::AbstractBase
    include Lono::Configset::EvaluateFile

    def run
      register_extensions # evaluates extend_with
    end

    # register_extensions and evaluate extend_with methods earlier than load_context so project helpers can override extensions
    def register_extensions
      template_path = "#{Lono.config.templates_path}/#{@template}.rb"
      Lono::Extensions.new(template_path).evaluate # registers extensions
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
lono-7.5.2 lib/lono/extensions/register.rb
lono-7.5.1 lib/lono/extensions/register.rb
lono-7.5.0 lib/lono/extensions/register.rb
lono-7.4.11 lib/lono/extensions/register.rb
lono-7.4.10 lib/lono/extensions/register.rb
lono-7.4.9 lib/lono/extensions/register.rb
lono-7.4.8 lib/lono/extensions/register.rb
lono-7.4.7 lib/lono/extensions/register.rb
lono-7.4.6 lib/lono/extensions/register.rb
lono-7.4.5 lib/lono/extensions/register.rb
lono-7.4.4 lib/lono/extensions/register.rb
lono-7.4.3 lib/lono/extensions/register.rb
lono-7.4.2 lib/lono/extensions/register.rb
lono-7.4.1 lib/lono/extensions/register.rb
lono-7.4.0 lib/lono/extensions/register.rb
lono-7.3.2 lib/lono/extensions/register.rb
lono-7.3.1 lib/lono/extensions/register.rb
lono-7.3.0 lib/lono/extensions/register.rb
lono-7.2.3 lib/lono/extensions/register.rb
lono-7.2.2 lib/lono/extensions/register.rb