Sha256: 196af9add6cf06c275e2bf3aa2b6ad27cafdc7c39b183bc95c366c78cf872525
Contents?: true
Size: 399 Bytes
Versions: 6
Compression:
Stored size: 399 Bytes
Contents
module Builderator module Util ## # Generic wrapper for exceptions in Thor Tasks ## class TaskException < StandardError attr_reader :status attr_reader :task def initialize(status, task, color = :red) @status = status @task = task @color = color end def status [@status, message, @color] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems