Libraries
»
csl
(1.0.2)
»
Index
»
CSL
»
DatePart
»
#year?
Method: CSL::DatePart#year?
Defined in:
lib/csl/date_part.rb
#
year?
⇒
Boolean
Returns:
(
Boolean
)
39 40 41
# File 'lib/csl/date_part.rb', line 39
def
year?
name
=~
/year/i
end