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.
1446 |
# File 'sig/types.rbs', line 1446
def initialize: (?min: Integer, ?max: Integer, years: Array[Integer]) -> void
|
Instance Attribute Details
#max ⇒ Integer (readonly)
Returns the value of attribute max.
1443 1444 1445 |
# File 'sig/types.rbs', line 1443 def max @max end |
#min ⇒ Integer (readonly)
Returns the value of attribute min.
1442 1443 1444 |
# File 'sig/types.rbs', line 1442 def min @min end |
#years ⇒ Array[Integer] (readonly)
Returns the value of attribute years.
1444 1445 1446 |
# File 'sig/types.rbs', line 1444 def years @years end |