``` def do_something_and_return_report something = do_something if RubyVM.return_value_used? create_report(something) else nil end end ```