Class: Xberg::YearRange

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeYearRange

Returns a new instance of YearRange.

Parameters:

  • min: (Integer)
  • max: (Integer)
  • years: (Array[Integer])


1490
# File 'sig/types.rbs', line 1490

def initialize: (?min: Integer, ?max: Integer, years: Array[Integer]) -> void

Instance Attribute Details

#maxInteger (readonly)

Returns the value of attribute max.

Returns:

  • (Integer)


1487
1488
1489
# File 'sig/types.rbs', line 1487

def max
  @max
end

#minInteger (readonly)

Returns the value of attribute min.

Returns:

  • (Integer)


1486
1487
1488
# File 'sig/types.rbs', line 1486

def min
  @min
end

#yearsArray[Integer] (readonly)

Returns the value of attribute years.

Returns:

  • (Array[Integer])


1488
1489
1490
# File 'sig/types.rbs', line 1488

def years
  @years
end