-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv.rb
142 lines (130 loc) · 3.63 KB
/
cv.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
class MarinleMaignan
attr_accessor :first_name, :last_name, :age, :email, :phone
def initialize
@first_name = "Marin"
@last_name = "le Maignan"
@age = "05-12-1989 (25)"
@email = "[email protected]"
@phone = "07593085329"
self.instance_variables.each do |who_is_he|
who_is_he = who_is_he.to_s
who_is_he.slice!(0)
puts send(who_is_he)
end
["work_experience", "diplomas", "skills"].each do |what_does_he_do|
puts "\n"
puts "\n"
puts "#{what_does_he_do.upcase}:"
describe self.send(what_does_he_do), what_does_he_do
end
end
private
def skills
[ :ruby,
:ruby_on_rails,
:javascript,
:jquery,
:html5,
:css3,
:git,
:oop,
:agile,
:rspec,
:bdd,
:tdd,
:capistrano,
:postgresql,
:cloud_stuff,
:rvm,
:heroku,
:aws,
:stripejs,
:ui_design,
:ux_design,
:and_many_others_hopefully ]
end
def work_experience
[{
from: "November 2018",
to: DateTime.now,
company: "Cartesdart.fr & Dragonart.fr",
title: "Freelance Developer and Designer",
contract: "Freelance",
city: "Paris"
},{
from: "August 2017",
to: "September 2018",
company: "Livestorm.co",
title: "Senior Back End (Ruby) Developer",
contract: "Fulltime",
city: "Paris"
},{
from: "April 2015",
to: "March 2017",
company: "monAlbumPhoto.fr",
title: "Back End (Ruby) Developer",
contract: "Fulltime",
city: "Paris"
},{
from: "June 2013",
to: "March 2015",
company: "Serious Fox",
title: "Back End (Ruby) Developer",
contract: "Fulltime",
city: "London"
},{
from: "July 2012",
to: "October 2012",
company: "UiCentric",
title: "UI UX Designer",
contract: "Freelance",
city: "London"
},{
from: "2011",
to: "2012",
company: "Shishiishi",
title: "Lead Designer",
contract: "Fulltime",
city: "London"
},{
from: "2011",
to: "2011",
company: "Provins Tourister",
title: "UI UX Designer",
contract: "Freelance",
city: "Paris"
}]
end
def diplomas
[{from: "2011",
to: "2013",
title_awarded: "Graphic Design Ba(Hons) 2/1",
location: "London Metropolitan University",
city: "London"
},{
from: "2008",
to: "2011",
title_awarded: "BTS Multimedia Graphic Designer",
location: "l'Ecole Multimedia",
city: "Paris" }]
end
def describe(object, klass)
object.each_with_index do |exp, i|
i = i+1
if klass == "skills"
puts "- #{exp.to_s.capitalize.gsub('_', ' ')}"
else
puts "------------------------##{i}------------------------"
exp.each do |key, value|
puts "- #{key.capitalize} : #{value}"
end
puts "\n"
end
end
end
end
puts "HELLO WORLD !"
puts "\n"
a = MarinleMaignan.new
puts "\n"
puts "Thank You for Reading!"