Sha256: 4a2cde488262cd6529d6abfe1c8d925f9c7d651442349a4c50c3d2808c3b1f23

Contents?: true

Size: 400 Bytes

Versions: 17

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

module Handlebarsjs
  # Register this configuration access extension for Handlebars configuration
  module HandlebarsConfigurationExtension
    def handlebars
      return @handlebars if defined? @handlebars

      @handlebars = HandlebarsConfiguration.new
    end
  end
end

KConfig::Configuration.register(:handlebars, Handlebarsjs::HandlebarsConfigurationExtension)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
handlebarsjs-0.14.2 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.14.1 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.14.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.13.1 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.13.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.12.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.11.3 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.11.2 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.11.1 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.11.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.10.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.9.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.8.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.7.0 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.6.3 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.6.2 lib/handlebarsjs/handlebars_configuration_extension.rb
handlebarsjs-0.6.1 lib/handlebarsjs/handlebars_configuration_extension.rb