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
Post a Comment