class TandaCLI::Configuration

Defined in:

tanda_cli/configuration.cr
tanda_cli/configuration/serialisable.cr

Constant Summary

REPLACE_PROMPT = "Press enter to continue with a default config (this overwrites the file), or Ctrl+C to quit"

Constructors

Instance Method Summary

Constructor Detail

def self.init(file : Storage::AbstractFile, input : Input, display : Display) : Configuration #

[View source]
def self.new(file : Storage::AbstractFile, serialisable : Serialisable = Serialisable.new) #

[View source]

Instance Method Detail

def clear_regular_hours_schedules!(*args, **options) #

[View source]
def clear_regular_hours_schedules!(*args, **options, &) #

[View source]
def clockin_photo_path(*args, **options) #

[View source]
def clockin_photo_path(*args, **options, &) #

[View source]
def clockin_photo_path=(arg) #

[View source]
def pretty_start_of_week(*args, **options) #

[View source]
def pretty_start_of_week(*args, **options, &) #

[View source]
def regular_hours_schedules(*args, **options) #

[View source]
def regular_hours_schedules(*args, **options, &) #

[View source]
def replace_regular_hours_schedules!(*args, **options) #

[View source]
def replace_regular_hours_schedules!(*args, **options, &) #

[View source]
def save! : Nil #

[View source]
def start_of_week(*args, **options) #

[View source]
def start_of_week(*args, **options, &) #

[View source]
def start_of_week=(arg) #

[View source]
def treat_paid_breaks_as_unpaid?(*args, **options) #

[View source]
def treat_paid_breaks_as_unpaid?(*args, **options, &) #

[View source]