Sha256: c6fdb0b28dbd3caf9eac0ebca7dcf16243fb551d4994c4b5288e4102faa018ac

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

module Facades
  module Middleman
    class << self
      ##
      # Make helpers available to middleman
      # 
      def registered(app)
        app.send :include, Facades::Helpers
      end
      alias :included :registered
    end
  end
end

::Middleman::Extensions.register(:facades, Facades::Middleman) 

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facades-1.1.0 lib/facades/support/middleman.rb
facades-1.0.9 lib/facades/support/middleman.rb
facades-1.0.8 lib/facades/support/middleman.rb
facades-1.0.6 lib/facades/support/middleman.rb