Class: DateSlash::DatePrefix
- Inherits:
-
Object
- Object
- DateSlash::DatePrefix
- Defined in:
- sig/dateslash.rbs
Instance Method Summary collapse
- #/ ⇒ Date, Numeric
-
#initialize ⇒ DatePrefix
constructor
A new instance of DatePrefix.
- #inspect ⇒ String
- #to_i ⇒ Integer
- #to_int ⇒ Integer
- #to_s ⇒ String
Constructor Details
#initialize ⇒ DatePrefix
Returns a new instance of DatePrefix.
26 |
# File 'sig/dateslash.rbs', line 26
def initialize: (Integer year, Integer month, Integer quotient) -> void
|
Instance Method Details
#/ ⇒ Date, Numeric
27 |
# File 'sig/dateslash.rbs', line 27
def /: (untyped day) -> (Date | Numeric)
|
#inspect ⇒ String
28 |
# File 'sig/dateslash.rbs', line 28
def inspect: () -> String
|
#to_i ⇒ Integer
30 |
# File 'sig/dateslash.rbs', line 30
def to_i: () -> Integer
|
#to_int ⇒ Integer
31 |
# File 'sig/dateslash.rbs', line 31
def to_int: () -> Integer
|
#to_s ⇒ String
29 |
# File 'sig/dateslash.rbs', line 29
def to_s: () -> String
|