Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ketchup
master
Ketchup
BaseConfig
Client
ClientCli
Actions
Config
Error
ErrorResponse
Hooks
InterruptPomodoroRequest
InvalidParamsError
PingRequest
Request
InvalidRequestError
ParseError
RequestParser
UnknownMethodError
Response
Server
ServerCli
StartBreakRequest
StartPomodoroRequest
State
States
StatusRequest
SuccessResponse
Generated using Crystal 1.10.1
2024-06-11 07:25:18 UTC
class
Ketchup::
Config
Ketchup::Config
Ketchup::BaseConfig
Reference
Object
Defined in:
ketchup/config.cr
Constructors
.new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
.new
Instance Method Summary
#long_break_duration
#pomodoro_duration
#short_break_duration
Instance methods inherited from class
Ketchup::BaseConfig
cycle : Int32
cycle
,
cycle=(cycle : Int32)
cycle=
,
host : String
host
,
host=(host : String)
host=
,
long_break_duration : Int32
long_break_duration
,
long_break_duration=(long_break_duration : Int32)
long_break_duration=
,
pomodoro_duration : Int32
pomodoro_duration
,
pomodoro_duration=(pomodoro_duration : Int32)
pomodoro_duration=
,
port : Int32
port
,
port=(port : Int32)
port=
,
short_break_duration : Int32
short_break_duration
,
short_break_duration=(short_break_duration : Int32)
short_break_duration=
,
socket : String | Nil
socket
,
socket=(socket : String | Nil)
socket=
Constructor methods inherited from class
Ketchup::BaseConfig
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new
Constructor Detail
def self.
new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
long_break_duration
#
[
View source
]
def
pomodoro_duration
#
[
View source
]
def
short_break_duration
#
[
View source
]