Sha256: 7bfa3605d4ca4728d16890fd07cdaf23c41c83f8cd96a1a46f42d828d1a52f2a

Contents?: true

Size: 340 Bytes

Versions: 15

Compression:

Stored size: 340 Bytes

Contents

# coding: utf-8

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

15 entries across 15 versions & 1 rubygems

Version Path
fig-1.27.10 lib/fig/logging/colorizable.rb
fig-1.27.8 lib/fig/logging/colorizable.rb
fig-1.27.5 lib/fig/logging/colorizable.rb
fig-1.27.4 lib/fig/logging/colorizable.rb
fig-1.27.3 lib/fig/logging/colorizable.rb
fig-1.27.0 lib/fig/logging/colorizable.rb
fig-1.26.1.beta.1 lib/fig/logging/colorizable.rb
fig-1.26.0 lib/fig/logging/colorizable.rb
fig-1.25.1.beta.1 lib/fig/logging/colorizable.rb
fig-1.25.0 lib/fig/logging/colorizable.rb
fig-1.24.1.beta.3 lib/fig/logging/colorizable.rb
fig-1.24.1.beta.2 lib/fig/logging/colorizable.rb
fig-1.24.1.beta.1 lib/fig/logging/colorizable.rb
fig-1.24.0 lib/fig/logging/colorizable.rb
fig-1.23.1.beta.1 lib/fig/logging/colorizable.rb