Class: HMap::Command

Inherits:
CLAide::Command
  • Object
show all
Defined in:
lib/hmap/command.rb,
lib/hmap/command/hmap_gen.rb,
lib/hmap/command/hmap_reader.rb,
lib/hmap/command/hmap_writer.rb

Overview

The primary Command for VFS.

Direct Known Subclasses

Gen, Reader, Writer

Defined Under Namespace

Classes: Gen, Reader, Writer

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Command

Returns a new instance of Command.



20
21
22
23
24
25
26
# File 'lib/hmap/command.rb', line 20

def initialize(argv)
  super
  return if ansi_output?

  Colored2.disable!
  String.send(:define_method, :colorize) { |string, _| string }
end