Class: TimeScales::Parts::YearOfSchemeClass
Instance Method Summary
collapse
#===, #name, #scale, #subdivision_name, #to_s, #to_time_scales_part
Instance Method Details
#&(time) ⇒ Object
83
84
85
|
# File 'lib/time_scales/parts.rb', line 83
def &(time)
time.year
end
|
#component_mixin ⇒ Object
#default_for_unit? ⇒ Boolean
79
|
# File 'lib/time_scales/parts.rb', line 79
def default_for_unit? ; true ; end
|
#scheme_scoped_precision_mixin ⇒ Object
#scope ⇒ Object
78
|
# File 'lib/time_scales/parts.rb', line 78
def scope ; Units::Scheme ; end
|
#subdivision ⇒ Object
77
|
# File 'lib/time_scales/parts.rb', line 77
def subdivision ; Units::Year ; end
|
#symbol ⇒ Object
76
|
# File 'lib/time_scales/parts.rb', line 76
def symbol ; :year_of_scheme ; end
|