Padrino::Helpers::FormatHelpers
Module: Padrino::Helpers::FormatHelpers
Overview
Helpers related to formatting or manipulating text within templates.
Instance Method Summary
-
#distance_of_time_in_words(from_time, to_time = 0, include_seconds = false, options = {}) ⇒ String
Reports the approximate distance in time between two Time or Date objects or integers as seconds. -
#escape_html(text) ⇒ String (also: #h, #sanitize_html)
Returns esc