Skip to content

Instantly share code, notes, and snippets.

@DanielVartanov
Created March 24, 2009 03:29
Show Gist options
  • Save DanielVartanov/83916 to your computer and use it in GitHub Desktop.
Save DanielVartanov/83916 to your computer and use it in GitHub Desktop.
def options # :nodoc:
@options ||= begin
parser = ::Spec::Runner::OptionParser.new($stderr, $stdout)
parser.order!(ARGV)
parser.options
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment