Class: Smplkit::Management::Color
- Inherits:
-
Object
- Object
- Smplkit::Management::Color
- Defined in:
- sig/smplkit/management.rbs
Instance Attribute Summary collapse
-
#hex ⇒ String
readonly
Returns the value of attribute hex.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Color
constructor
A new instance of Color.
Constructor Details
#initialize ⇒ Color
Returns a new instance of Color.
11 |
# File 'sig/smplkit/management.rbs', line 11
def initialize: (String) -> void
|
Instance Attribute Details
#hex ⇒ String (readonly)
Returns the value of attribute hex.
10 11 12 |
# File 'sig/smplkit/management.rbs', line 10 def hex @hex end |
Class Method Details
.rgb ⇒ Color
12 |
# File 'sig/smplkit/management.rbs', line 12
def self.rgb: (Integer, Integer, Integer) -> Color
|