Class: Iterm2mintty::BGColor
- Inherits:
-
Object
- Object
- Iterm2mintty::BGColor
- Includes:
- Colorable, MinttyColor
- Defined in:
- lib/iterm2mintty.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
Instance Method Summary collapse
-
#initialize(color:) ⇒ BGColor
constructor
A new instance of BGColor.
- #name ⇒ Object
Methods included from Colorable
Methods included from MinttyColor
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
#color ⇒ Object (readonly)
Returns the value of attribute color.
111 112 113 |
# File 'lib/iterm2mintty.rb', line 111 def color @color end |
Instance Method Details
#name ⇒ Object
117 118 119 |
# File 'lib/iterm2mintty.rb', line 117 def name "BackgroundColour" end |