Sha256: ba6195e9c8e86ff588d1ef80b9fa3608bd84778a800b8c9d7732abe7784eef91

Contents?: true

Size: 399 Bytes

Versions: 54

Compression:

Stored size: 399 Bytes

Contents

module GLI
  module Commands
    module HelpModules
      # Leaves text formatting exactly as it was received. Doesn't strip anything.
      class VerbatimWrapper
        # Args are ignored entirely; this keeps it consistent with the TextWrapper interface
        def initialize(width,indent)
        end

        def wrap(text)
          return String(text)
        end
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
gli-2.22.1 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.22.0 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.21.5 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.21.4 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.21.3 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.21.2 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.21.1 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.21.0 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.20.1 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.20.0 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.19.2 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.19.1 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.19.0 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.18.2 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.18.1 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.18.0 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.17.2 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.17.1 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.17.0 lib/gli/commands/help_modules/verbatim_wrapper.rb
gli-2.16.1 lib/gli/commands/help_modules/verbatim_wrapper.rb