Class: Xberg::YearRange
- Inherits:
-
Object
- Object
- Xberg::YearRange
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#max ⇒ Integer
readonly
Returns the value of attribute max.
-
#min ⇒ Integer
readonly
Returns the value of attribute min.
-
#years ⇒ Array[Integer]
readonly
Returns the value of attribute years.
Instance Method Summary collapse
-
#initialize ⇒ YearRange
constructor
A new instance of YearRange.
Constructor Details
#initialize ⇒ YearRange
Returns a new instance of YearRange.
1435 |
# File 'sig/types.rbs', line 1435
def initialize: (?min: Integer, ?max: Integer, years: Array[Integer]) -> void
|
Instance Attribute Details
#max ⇒ Integer (readonly)
Returns the value of attribute max.
1432 1433 1434 |
# File 'sig/types.rbs', line 1432 def max @max end |
#min ⇒ Integer (readonly)
Returns the value of attribute min.
1431 1432 1433 |
# File 'sig/types.rbs', line 1431 def min @min end |
#years ⇒ Array[Integer] (readonly)
Returns the value of attribute years.
1433 1434 1435 |
# File 'sig/types.rbs', line 1433 def years @years end |