Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
I will first
= succeed(", then render this half of the sentence if a condition is met" if @condition) do
= link_to('link somewhere', 'http://example.com')
@crispinheneise

This comment has been minimized.

Show comment Hide comment
@crispinheneise

crispinheneise Feb 15, 2012

I will first
= succeed ',' do
  = link_to 'link somewhere', 'http://example.com'
- if @condition
  then render this half of the sentence if a condition is met
I will first
= succeed ',' do
  = link_to 'link somewhere', 'http://example.com'
- if @condition
  then render this half of the sentence if a condition is met
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment