Home > like_a_boss

like_a_boss

Like_a_boss is a project mainly written in Ruby, it's free.

The only gem you need to code Ruby like a boss

h1. Like a Boss

Have you ever wanted to code like a boss? Now you can...

"http://www.youtube.com/watch?v=NisCkxU544c":http://www.youtube.com/watch?v=NisCkxU544c (cant embed Youtube videos in READMEs)

h2. Examples


# Okay, so take us through a day in the life of the boss...

the_first_thing_I_do_is = [
  'Talk to to corporate'.like_a_boss,
  'Approve memos'.like_a_boss,
  'Lead a workshop'.like_a_boss,
  'Remember birthdays'.like_a_boss,
  'Direct workflow'.like_a_boss
]

# If you're worried that your code wont work just run it like_a_boss! and no one will second guess it!
i_can_continue = false

if i_can_continue.like_a_boss!
  puts "I just continued!".like_a_boss
end
# => 'I just continued!'

# Want to do math like a boss?

puts (1+1).like_a_boss

h3. Want to test like a boss?


describe Item do
  context "when you're the boss" do
    it 'should be nil like a boss' do
      nil.should be_nil.like_a_boss
    end
  end
end
Previous:Boxes