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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -