struct Options

Defined in:

chronic.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : String = "%s", days : Int32 = 0, hours : Int32 = 0, minutes : Int32 = 0, seconds : Int32 = 0, format : String = "%s", separator : String = "\n", sleep : Bool = false, command : String | Nil = nil) #

[View source]

Instance Method Detail

def command : String? #

[View source]
def command=(command : Nil | String) #

[View source]
def days : Int32 #

[View source]
def days=(days : Int32) #

[View source]
def format : String #

[View source]
def format=(format : String) #

[View source]
def hours : Int32 #

[View source]
def hours=(hours : Int32) #

[View source]
def input : String #

[View source]
def input=(input : String) #

[View source]
def minutes : Int32 #

[View source]
def minutes=(minutes : Int32) #

[View source]
def seconds : Int32 #

[View source]
def seconds=(seconds : Int32) #

[View source]
def separator : String #

[View source]
def separator=(separator : String) #

[View source]
def sleep : Bool #

[View source]
def sleep=(sleep : Bool) #

[View source]