default options for engines
default options for engines

class Engine < Temple::Engine
  # Set default value for option pretty
  set_default_options :pretty => true

  # Allow to overwrite pretty
  use Temple::HTML::Pretty, :pretty
end

this replaces the current way to implement this

class Engine < Temple::Engine
  # Allow to overwrite pretty
  use Temple::HTML::Pretty, :pretty, :pretty => true
end

kbrock/temple,judofyr/temple,eagletmt/temple,looker/temple,JuanitoFatas/temple,schneems/temple,k0kubun/temple