Module: Clio

Defined in:
lib/clio/ansicode.rb,
lib/clio/usage.rb,
lib/clio/buffer.rb,
lib/clio/errors.rb,
lib/clio/layout.rb,
lib/clio/string.rb,
lib/clio/commandable.rb,
lib/clio/commandline.rb,
lib/clio/layout/line.rb,
lib/clio/layout/list.rb,
lib/clio/progressbar.rb,
lib/clio/consoleutils.rb,
lib/clio/layout/split.rb,
lib/clio/layout/stack.rb,
lib/clio/layout/table.rb,
lib/clio/usage/option.rb,
lib/clio/usage/parser.rb,
lib/clio/usage/command.rb,
lib/clio/usage/argument.rb,
lib/clio/usage/interface.rb,
lib/clio/usage/signature.rb,
lib/clio/usage/subcommand.rb

Overview

require ‘shellwords’

Defined Under Namespace

Modules: ANSICode, Commandable, Terminal, Usage Classes: Buffer, Commandline, Layout, NoCommandError, NoOptionError, Progressbar, String

Class Method Summary collapse

Class Method Details

.bufferObject



11
12
13
# File 'lib/clio/buffer.rb', line 11

def self.buffer
  Buffer.new
end

.string(str) ⇒ Object



7
8
9
# File 'lib/clio/string.rb', line 7

def self.string(str)
  String.new(str)
end