Sha256: e430f135f8d6697b2370faca006326302e119695b9b473eba5911b629b1bda79
Contents?: true
Size: 538 Bytes
Versions: 7
Compression:
Stored size: 538 Bytes
Contents
require "techbook/version" require "techbook/generator" require "techbook/builder" require "techbook/publisher" module Techbook class Error < StandardError; end def self.root File.dirname __dir__ end end class String # colorization def colorize(color_code) "\e[#{color_code}m#{self}\e[0m" end def red colorize(31) end def green colorize(32) end def yellow colorize(33) end def blue colorize(34) end def pink colorize(35) end def light_blue colorize(36) end end
Version data entries
7 entries across 7 versions & 1 rubygems