Sha256: e2e0c3612089a13ad747080ecfe750a067766ae49bcb1fb9d87b14fe8ae82787
Contents?: true
Size: 737 Bytes
Versions: 5
Compression:
Stored size: 737 Bytes
Contents
puts "Loading Development Environment" # Get Access Pancake.configuration.configs(<%= stack_name.camel_case %> ) do |config| config.foo = :foo end # Allows Pancake to selectively apply middlewares in the stack. # If a middleware is not declared with a specific stack label then it will always be loaded # You can specify Middleware to be active under particular stack labels only however. # # Example # <%= stack_name.camel_case %>.stack(:my_middlware, :labels => [:demo, :development]).use(Middlware, :with => :opts) # # This would only include the middleware Middlware in stacks with either the :demo, or :development label # # Setting The Pancake.stack_labels will use any relevant stacks Pancake.stack_labels = [:development]
Version data entries
5 entries across 5 versions & 2 rubygems