Sha256: 7e6015f57dab0c41cf8a50f1c23f98048493bf9ef11a3883b51b4ace61f96419

Contents?: true

Size: 323 Bytes

Versions: 48

Compression:

Stored size: 323 Bytes

Contents

module Fig; end
module Fig::Logging; end

# A String that has colors associated with it.
class Fig::Logging::Colorizable < String
  attr_reader :foreground, :background

  def initialize(string = '', foreground = nil, background = nil)
    super(string)

    @foreground = foreground
    @background = background
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
fig-1.10.0 lib/fig/logging/colorizable.rb
fig-1.9.0 lib/fig/logging/colorizable.rb
fig-1.8.0 lib/fig/logging/colorizable.rb
fig-1.7.0 lib/fig/logging/colorizable.rb
fig-1.6.0 lib/fig/logging/colorizable.rb
fig-1.5.0 lib/fig/logging/colorizable.rb
fig-1.4.0 lib/fig/logging/colorizable.rb
fig-1.3.0 lib/fig/logging/colorizable.rb
fig-1.2.0 lib/fig/logging/colorizable.rb
fig-1.1.0 lib/fig/logging/colorizable.rb
fig-1.0.0 lib/fig/logging/colorizable.rb
fig-0.2.5 lib/fig/logging/colorizable.rb
fig-0.2.3 lib/fig/logging/colorizable.rb
fig-0.2.1 lib/fig/logging/colorizable.rb
fig-0.1.81 lib/fig/logging/colorizable.rb
fig-0.1.79 lib/fig/logging/colorizable.rb
fig-0.1.77 lib/fig/logging/colorizable.rb
fig-0.1.76 lib/fig/logging/colorizable.rb
fig-0.1.75 lib/fig/logging/colorizable.rb
fig-0.1.73 lib/fig/logging/colorizable.rb