Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/adroit-age/date.rb

Instance Method Summary collapse

Instance Method Details

#find_ageObject



3
4
5
# File 'lib/adroit-age/date.rb', line 3

def find_age
	Adroit::Age.new.find_year self
end

#find_age_with_month(year_cust = nil, month_cust = nil) ⇒ Object



7
8
9
# File 'lib/adroit-age/date.rb', line 7

def find_age_with_month year_cust = nil, month_cust = nil
	Adroit::Age.new.find_with_month self, year_cust, month_cust
end