Class: Xcodeproj::Command

Inherits:
CLAide::Command
  • Object
show all
Defined in:
lib/xcodeproj/command.rb,
lib/xcodeproj/command/show.rb,
lib/xcodeproj/command/sort.rb,
lib/xcodeproj/command/config_dump.rb,
lib/xcodeproj/command/target_diff.rb,
lib/xcodeproj/command/project_diff.rb

Direct Known Subclasses

ConfigDump, ProjectDiff, Show, Sort, TargetDiff

Defined Under Namespace

Classes: ConfigDump, ProjectDiff, Show, Sort, TargetDiff

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Command

Returns a new instance of Command.


18
19
20
21
22
23
24
# File 'lib/xcodeproj/command.rb', line 18

def initialize(argv)
  super
  unless self.ansi_output?
    Colored2.disable!
    String.send(:define_method, :colorize) { |string, _| string }
  end
end