Sha256: 815848ed735969e100fa4f6fca8542304258be2bdec4b9c25a509c5bf58f05e1
Contents?: true
Size: 421 Bytes
Versions: 9
Compression:
Stored size: 421 Bytes
Contents
require 'middleman-metaman/helpers' module Middleman class MetamanExtension < Extension option :host, nil, 'Set host that the site will running at.' def initialize(app, options_hash={}, &block) super # place in class variable so helpers can access @@options = options end def self.options @@options end self.defined_helpers = [Middleman::Metaman::Helpers] end end
Version data entries
9 entries across 9 versions & 1 rubygems