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


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

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

Instance Attribute Details

#maxInteger (readonly)

Returns the value of attribute max.

Returns:

  • (Integer)


1443
1444
1445
# File 'sig/types.rbs', line 1443

def max
  @max
end

#minInteger (readonly)

Returns the value of attribute min.

Returns:

  • (Integer)


1442
1443
1444
# File 'sig/types.rbs', line 1442

def min
  @min
end

#yearsArray[Integer] (readonly)

Returns the value of attribute years.

Returns:

  • (Array[Integer])


1444
1445
1446
# File 'sig/types.rbs', line 1444

def years
  @years
end