Sha256: 27bc3852ef4449210cb8ec445897cdae4fbc96ed9fc20ead73494ded50fc18f4

Contents?: true

Size: 153 Bytes

Versions: 2

Compression:

Stored size: 153 Bytes

Contents

class Object
  def abort_with(text)
    abort text.color(:red).bright
  end

  def exit_with(text)
    puts text.color(:green).bright
    exit
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sunzi-2.1.0 lib/sunzi/core_ext.rb
sunzi-2.0.0 lib/sunzi/core_ext.rb