Sha256: 1c5e1a133c2e1f29c7b2d6d4c4d25c0934b5dee6f29164dd5ff9229bd8566327

Contents?: true

Size: 320 Bytes

Versions: 50

Compression:

Stored size: 320 Bytes

Contents

set :layout, false

class ExtensionA < ::Middleman::Extension
  helpers do
    def get_option(key)
      extensions[:extension_a].options[key]
    end
  end

  option :hello, '', ''
  option :hola, '', ''
end

Middleman::Extensions.register :extension_a, ExtensionA

activate :extension_a, hello: "world", hola: "mundo"

Version data entries

50 entries across 50 versions & 3 rubygems

Version Path
middleman-core-4.6.0 fixtures/feature-params-app/config.rb
middleman-core-4.5.1 fixtures/feature-params-app/config.rb
middleman-core-4.5.0 fixtures/feature-params-app/config.rb
middleman-core-4.4.3 fixtures/feature-params-app/config.rb
middleman-core-4.4.2 fixtures/feature-params-app/config.rb
middleman-core-4.4.0 fixtures/feature-params-app/config.rb
middleman-core-4.3.11 fixtures/feature-params-app/config.rb
middleman-core-4.3.10 fixtures/feature-params-app/config.rb
middleman-core-4.3.8 fixtures/feature-params-app/config.rb
middleman-core-4.3.7 fixtures/feature-params-app/config.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/feature-params-app/config.rb
middleman-core-4.3.6 fixtures/feature-params-app/config.rb
middleman-core-4.3.5 fixtures/feature-params-app/config.rb
middleman-core-4.3.4 fixtures/feature-params-app/config.rb
middleman-core-4.3.3 fixtures/feature-params-app/config.rb
middleman-core-4.3.2 fixtures/feature-params-app/config.rb
middleman-core-4.3.1 fixtures/feature-params-app/config.rb
middleman-core-4.3.0 fixtures/feature-params-app/config.rb
middleman-core-with-external-sources-watch-fix-4.1.10 fixtures/feature-params-app/config.rb
middleman-core-with-external-sources-watch-fix-4.1.0 fixtures/feature-params-app/config.rb