Sha256: 5edae00d20310ad124f40a7e18339bae12644cf6d1a230686a27132f58ce3668
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
module HoganAssets # Change config options in an initializer: # # HoganAssets.template_extension = 'mustache' # # Or in a block: # # HoganAssets.configure do |config| # config.template_extension = 'mustache' # end module Config attr_accessor :template_base_path, :template_extension def configure yield self end def template_extension @template_extension ||= 'mustache' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hogan_assets-1.0.3 | lib/hogan_assets/config.rb |