Class: Iterm2mintty::CursorColor

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:) ⇒ CursorColor

Returns a new instance of CursorColor.



127
128
129
# File 'lib/iterm2mintty.rb', line 127

def initialize(color:)
  @color = color
end

Instance Attribute Details

#colorObject (readonly)

Returns the value of attribute color.



125
126
127
# File 'lib/iterm2mintty.rb', line 125

def color
  @color
end

Instance Method Details

#nameObject



131
132
133
# File 'lib/iterm2mintty.rb', line 131

def name
  "CursorColour"
end