This question taught me how I can use an if statement without an else. I need the exact same thing, but for mutiple lines of code instead of one line of code.
I have tried this, but this does not seem to work:
def self.foo(a)
{
#mutiple lines of code
}if a == true
end