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])


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

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

Instance Attribute Details

#maxInteger (readonly)

Returns the value of attribute max.

Returns:

  • (Integer)


1514
1515
1516
# File 'sig/types.rbs', line 1514

def max
  @max
end

#minInteger (readonly)

Returns the value of attribute min.

Returns:

  • (Integer)


1513
1514
1515
# File 'sig/types.rbs', line 1513

def min
  @min
end

#yearsArray[Integer] (readonly)

Returns the value of attribute years.

Returns:

  • (Array[Integer])


1515
1516
1517
# File 'sig/types.rbs', line 1515

def years
  @years
end