Class: Iterm2mintty::BGColor

Inherits:
Object
  • Object
show all
Includes:
Colorable, MinttyColor
Defined in:
lib/iterm2mintty.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Colorable

#blue, #green, #red

Methods included from MinttyColor

#to_mintty

Constructor Details

#initialize(color:) ⇒ BGColor

Returns a new instance of BGColor.



113
114
115
# File 'lib/iterm2mintty.rb', line 113

def initialize(color:)
  @color = color
end

Instance Attribute Details

#colorObject (readonly)

Returns the value of attribute color.



111
112
113
# File 'lib/iterm2mintty.rb', line 111

def color
  @color
end

Instance Method Details

#nameObject



117
118
119
# File 'lib/iterm2mintty.rb', line 117

def name
  "BackgroundColour"
end