Sha256: dacd5db10ca0541e153b5e0e399f349398a63002ddbb9c7fb59d3c39cc5849d6

Contents?: true

Size: 838 Bytes

Versions: 4

Compression:

Stored size: 838 Bytes

Contents

class ColorCommand < DevSystem::SimpleCommand

  def call_default
    log "args are #{env[:args].inspect}"
    
    color = simple_color :color

    string = "Ruby was created in 1993 by the Japanese Computer Scientist Yukihiro Matsumoto with simplicity in mind"
    
    puts
    log stick string, color
    log stick string, color, :b
    log stick string, color, :b, :u
    log stick string, color, :b, :u, :i
    log stick string, color, :u, :i
    log stick string, color, :i
    log stick string, color, :i, :b
    
    puts
    log stick string, :black, color
    log stick string, :black, color, :b
    log stick string, :black, color, :b, :u
    log stick string, :black, color, :b, :u, :i
    log stick string, :black, color, :u, :i
    log stick string, :black, color, :i
    log stick string, :black, color, :i, :b
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lizarb-1.0.8 app/dev/commands/color_command.rb
lizarb-1.0.7 app/dev/commands/color_command.rb
lizarb-1.0.6 app/dev/commands/color_command.rb
lizarb-1.0.5 app/dev/commands/color_command.rb