Class: Iterm2mintty::FGColor
- Inherits:
-
Object
- Object
- Iterm2mintty::FGColor
- 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:) ⇒ FGColor
constructor
A new instance of FGColor.
- #name ⇒ Object
Methods included from Colorable
Methods included from MinttyColor
Constructor Details
#initialize(color:) ⇒ FGColor
Returns a new instance of FGColor.
99 100 101 |
# File 'lib/iterm2mintty.rb', line 99 def initialize(color:) @color = color end |
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color.
97 98 99 |
# File 'lib/iterm2mintty.rb', line 97 def color @color end |
Instance Method Details
#name ⇒ Object
103 104 105 |
# File 'lib/iterm2mintty.rb', line 103 def name "ForegroundColour" end |