Last active
December 17, 2015 08:19
-
-
Save butcher/5579476 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# initialize data | |
name = 'Pavel Nikitin' | |
start_working_with_ruby = 2008 | |
timeLoad = 'fulltime' | |
technologies = ['Rails', 'MySQL', 'Cassandra', 'HTML', 'CSS'] | |
personal = ['talented', 'creative', 'team player'] | |
contacts = {:email => 'daddybutcher@gmail.com', :skype => 'pavel.butcher.nikitin', :blog => 'http://itstickers.blogspot.com', :linkedin => 'http://www.linkedin.com/pub/pavel-nikitin/16/327/363'} | |
# build CV | |
cv = <<CV | |
Hi, my name is #{name} and I am a Ruby developer with #{Time.now.year - start_working_with_ruby} years experience. | |
I am looking for a #{timeLoad} position. | |
I am experienced with #{technologies.join(', ')}. | |
If you are looking for a #{personal.join(', ')} please contact me! | |
#{contacts.to_a.map{|c| c.join(': ')}.join("\n")} | |
CV | |
# print CV | |
puts cv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.join('\n')
does not work