Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
t_cal
main
Date
TCal
Calendar
HTML
Event
Month
Week
ICal
RouteColors
Color
DatePeriod
Handlers
Canonize
Errors
Feed
Health
Site
Period
EmptyPeriod
InvalidPeriod
Server
TimePeriod
V3API
Alert
ActivePeriod
Attributes
InformedEntity
Resource
Line
Resource
RequestError
Route
Attributes
Resource
Time
DayOfWeek
TimelessFormat
Generated using Crystal 1.12.2
2024-08-26 11:01:58 UTC
struct
TCal::
Calendar::
RouteColors
TCal::Calendar::RouteColors
Struct
Value
Object
Defined in:
t_cal/calendar.cr
Constructors
.new
(primary : Color, text : Color)
Instance Method Summary
#clone
#copy_with
(primary _primary = @primary, text _text = @text)
#primary
: Color
#text
: Color
Constructor Detail
def self.
new
(primary :
Color
, text :
Color
)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(primary _primary = @primary, text _text = @text)
#
[
View source
]
def
primary
:
Color
#
def
text
:
Color
#