Class: DamageControl::Tracker::Base
- Inherits:
-
Object
- Object
- DamageControl::Tracker::Base
- Includes:
- Web::Configuration
- Defined in:
- lib/damagecontrol/tracker.rb,
app/controllers/application.rb
Overview
Simple superclass so we can easily include mixins for all subclasses in one fell swoop.
Instance Method Summary collapse
-
#htmlize(str) ⇒ Object
:nodoc:.
Methods included from Web::Configuration
Instance Method Details
#htmlize(str) ⇒ Object
:nodoc:
9 10 11 |
# File 'lib/damagecontrol/tracker.rb', line 9 def htmlize(str) str.gsub(/\n/, "<br>") end |