class GLI::Commands::HelpModules::VerbatimWrapper

Leaves text formatting exactly as it was received. Doesn’t strip anything.

Public Instance Methods

wrap(text) click to toggle source
# File lib/gli/commands/help_modules/verbatim_wrapper.rb, line 10
def wrap(text)
  return String(text)
end

Public Class Methods

new(width,indent) click to toggle source

Args are ignored entirely; this keeps it consistent with the TextWrapper interface

# File lib/gli/commands/help_modules/verbatim_wrapper.rb, line 7
def initialize(width,indent)
end