Class: Futoase::Profile

Inherits:
Object
  • Object
show all
Defined in:
lib/futoase/profile.rb

Instance Method Summary collapse

Instance Method Details

#ageObject



5
6
7
# File 'lib/futoase/profile.rb', line 5

def age
  (DateTime.now.to_time - DateTime.new(1981, 12, 13).to_time).to_i / (365 * 24 * 60 * 60)
end

#facebookObject



33
34
35
# File 'lib/futoase/profile.rb', line 33

def facebook
  "https://facebook.com/futoase"
end

#firstnameObject



21
22
23
# File 'lib/futoase/profile.rb', line 21

def firstname
  "Keiji"
end

#githubObject



37
38
39
# File 'lib/futoase/profile.rb', line 37

def github
  "https://github.com/futoase"
end

#lastnameObject



25
26
27
# File 'lib/futoase/profile.rb', line 25

def lastname
  "Matsuzaki"
end

#mailObject



17
18
19
# File 'lib/futoase/profile.rb', line 17

def mail
  "[email protected]"
end

#nameObject



9
10
11
# File 'lib/futoase/profile.rb', line 9

def name
  "#{firstname} #{lastname}"
end

#siteObject



13
14
15
# File 'lib/futoase/profile.rb', line 13

def site
  "http://futoase.github.io/"
end

#twitterObject



29
30
31
# File 'lib/futoase/profile.rb', line 29

def twitter
  "https://twitter.com/xga"
end