Class: DateSlash::DatePrefix

Inherits:
Object
  • Object
show all
Defined in:
sig/dateslash.rbs

Instance Method Summary collapse

Constructor Details

#initializeDatePrefix

Returns a new instance of DatePrefix.

Parameters:

  • year (Integer)
  • month (Integer)
  • quotient (Integer)


26
# File 'sig/dateslash.rbs', line 26

def initialize: (Integer year, Integer month, Integer quotient) -> void

Instance Method Details

#/Date, Numeric

Parameters:

  • day (Object)

Returns:

  • (Date, Numeric)


27
# File 'sig/dateslash.rbs', line 27

def /: (untyped day) -> (Date | Numeric)

#inspectString

Returns:

  • (String)


28
# File 'sig/dateslash.rbs', line 28

def inspect: () -> String

#to_iInteger

Returns:

  • (Integer)


30
# File 'sig/dateslash.rbs', line 30

def to_i: () -> Integer

#to_intInteger

Returns:

  • (Integer)


31
# File 'sig/dateslash.rbs', line 31

def to_int: () -> Integer

#to_sString

Returns:

  • (String)


29
# File 'sig/dateslash.rbs', line 29

def to_s: () -> String