class Maglove::Engine::Configuration

Attributes

asset_uri[RW]
block_path[RW]
block_resolver[RW]

Public Class Methods

new() click to toggle source
# File lib/maglove/engine/configuration.rb, line 9
def initialize
  @block_resolver = lambda do |identifier, variables|
    File.read(File.join(Maglove::Engine.config.block_path, "#{identifier}.haml"))
  end
end