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


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

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

Instance Attribute Details

#maxInteger (readonly)

Returns the value of attribute max.

Returns:

  • (Integer)


1432
1433
1434
# File 'sig/types.rbs', line 1432

def max
  @max
end

#minInteger (readonly)

Returns the value of attribute min.

Returns:

  • (Integer)


1431
1432
1433
# File 'sig/types.rbs', line 1431

def min
  @min
end

#yearsArray[Integer] (readonly)

Returns the value of attribute years.

Returns:

  • (Array[Integer])


1433
1434
1435
# File 'sig/types.rbs', line 1433

def years
  @years
end