ActionView::Helpers::TextHelper
Instance methods
current_cycle
Sourcedistance_of_time_in_words(from_time : Time, to_time : Time, include_seconds : Bool = false) : String
--- distance_of_time_in_words (Rails algorithm) --------------
excerpt(text : String, phrase : String, radius : Int = 100, omission : String = "...") : String | Nil
Sourcehighlight(text : String, phrases : String | Array(String), highlighter : String = "<mark>\\1</mark>") : String
Sourcereset_cycle
Source