RachelWyatt / learn-co-sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hi! 👋

You've opened the IDE Sandbox. 🎉

The Sandbox is an environment that you can access on "readme" and "code-along" lessons in Learn. It's a great place to experiment with code when you're not working on a "lab" (labs open the IDE In Browser).

The work you do in the Sandbox will be saved from lesson to lesson, and is automatically saved on your behalf to a repository in your GitHub account called learn-co-sandbox.

Please DO NOT touch this repository in GitHub, as it will affect your Sandbox experience, and potentially cause your work to be out of sync.

To learn more about the Sandbox, please visit http://help.learn.co/ide-in-browser#sandbox.

class Person

def initialize(first_name, last_name) @first_name = first_name @last_name = last_name end

def name=(full_name) first_name, last_name = full_name.split @first_name = first_name @last_name = last_name end

def name "#{@first_name} #{@last_name}".strip end

end

word_of_the_day

About


Languages

Language:Ruby 95.1%Language:Shell 4.9%