Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save methodmissing/51604 to your computer and use it in GitHub Desktop.
##
# Select whether or not to use the pretty-printer. If this option is set
# to false before any assertions are made, pp.rb will not be required.
public
def self.use_pp=(value)
AssertionMessage.use_pp = value
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment