Module: UI::TextHelpers

Defined in:
library/general/src/lib/ui/text_helpers.rb

Overview

Provides a set of methods to manipulate and transform UI text

Instance Method Summary collapse

Instance Method Details

#div_with_direction(text, lang = nil) ⇒ Object


43
44
45
# File 'library/general/src/lib/ui/text_helpers.rb', line 43

def div_with_direction(text, lang = nil)
  text.div_with_direction(lang)
end

#head(text, *args) ⇒ Object


38
39
40
# File 'library/general/src/lib/ui/text_helpers.rb', line 38

def head(text, *args)
  text.head(*args)
end

#plain_text(text, *args, &block) ⇒ Object


28
29
30
# File 'library/general/src/lib/ui/text_helpers.rb', line 28

def plain_text(text, *args, &block)
  text.plain_text(*args, &block)
end

#wrap_text(text, *args) ⇒ Object


33
34
35
# File 'library/general/src/lib/ui/text_helpers.rb', line 33

def wrap_text(text, *args)
  text.wrap_text(*args)
end