Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created January 25, 2009 00:11
Show Gist options
  • Select an option

  • Save methodmissing/51606 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/51606 to your computer and use it in GitHub Desktop.
def output_single(something, level=NORMAL)
@io.write(something) if (output?(level))
@io.flush
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment