Class: DateSlash::DivisionValue
- Inherits:
-
Numeric
- Object
- Numeric
- DateSlash::DivisionValue
- Defined in:
- sig/dateslash.rbs
Direct Known Subclasses
Instance Method Summary collapse
- #<=> ⇒ Integer?
- #== ⇒ Boolean
- #coerce ⇒ [Numeric, Numeric]
-
#initialize ⇒ DivisionValue
constructor
A new instance of DivisionValue.
- #inspect ⇒ String
- #integer? ⇒ Boolean
- #to_f ⇒ Float
- #to_i ⇒ Integer
- #to_int ⇒ Integer
- #to_s ⇒ String
Constructor Details
#initialize ⇒ DivisionValue
Returns a new instance of DivisionValue.
8 |
# File 'sig/dateslash.rbs', line 8
def initialize: (Numeric quotient) -> void
|
Instance Method Details
#<=> ⇒ Integer?
10 |
# File 'sig/dateslash.rbs', line 10
def <=>: (untyped other) -> Integer?
|
#== ⇒ Boolean
9 |
# File 'sig/dateslash.rbs', line 9
def ==: (untyped other) -> bool
|
#coerce ⇒ [Numeric, Numeric]
11 |
# File 'sig/dateslash.rbs', line 11
def coerce: (Numeric other) -> [Numeric, Numeric]
|
#inspect ⇒ String
12 |
# File 'sig/dateslash.rbs', line 12
def inspect: () -> String
|
#integer? ⇒ Boolean
17 |
# File 'sig/dateslash.rbs', line 17
def integer?: () -> bool
|
#to_f ⇒ Float
16 |
# File 'sig/dateslash.rbs', line 16
def to_f: () -> Float
|
#to_i ⇒ Integer
14 |
# File 'sig/dateslash.rbs', line 14
def to_i: () -> Integer
|
#to_int ⇒ Integer
15 |
# File 'sig/dateslash.rbs', line 15
def to_int: () -> Integer
|
#to_s ⇒ String
13 |
# File 'sig/dateslash.rbs', line 13
def to_s: () -> String
|