syntax - How can I nest this if/else as per Ruby? -


I want to do it in Ruby:

  some () conditional and some other_else ()  

It does not compile, nor is anything that I tried. Is it possible to make a statement in this format or do I :

  if something is conditional and some_all () end   
  if conditional, then something else ends  

or

  conditional? Some: some_all  

Comments

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -