Module: Cri::CoreExtensions::String Deprecated
- Included in:
- String
- Defined in:
- lib/cri/core_ext/string.rb
Overview
Deprecated.
Instance Method Summary (collapse)
- - (Object) formatted_as_command
- - (Object) formatted_as_option
- - (Object) formatted_as_title
- - (Object) to_paragraphs
- - (Object) wrap_and_indent(width, indentation)
Instance Method Details
- (Object) formatted_as_command
26 27 28 |
# File 'lib/cri/core_ext/string.rb', line 26 def formatted_as_command Cri::StringFormatter.new.format_as_command(self) end |
- (Object) formatted_as_option
31 32 33 |
# File 'lib/cri/core_ext/string.rb', line 31 def formatted_as_option Cri::StringFormatter.new.format_as_option(self) end |
- (Object) formatted_as_title
21 22 23 |
# File 'lib/cri/core_ext/string.rb', line 21 def formatted_as_title Cri::StringFormatter.new.format_as_title(self) end |
- (Object) to_paragraphs
11 12 13 |
# File 'lib/cri/core_ext/string.rb', line 11 def to_paragraphs Cri::StringFormatter.new.to_paragraphs(self) end |
- (Object) wrap_and_indent(width, indentation)
16 17 18 |
# File 'lib/cri/core_ext/string.rb', line 16 def wrap_and_indent(width, indentation) Cri::StringFormatter.new.wrap_and_indent(self, width, indentation) end |