Class: SpeedGun::Template
- Inherits:
-
Slim::Template
- Object
- Slim::Template
- SpeedGun::Template
- Defined in:
- lib/speed_gun/template.rb
Constant Summary collapse
- TEMPLATE_PATH =
File.join(File.dirname(__FILE__), 'app/views/meter.html.slim')
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Template
constructor
A new instance of Template.
Constructor Details
#initialize ⇒ Template
Returns a new instance of Template.
12 13 14 |
# File 'lib/speed_gun/template.rb', line 12 def initialize super(TEMPLATE_PATH, pretty: false) end |