Permalink
Browse files

Removing split_args, not using it anymore

  • Loading branch information...
1 parent f001d95 commit 65dfa2f7ff686ab1f1fa4bb2c87e5a16f179de56 @mrsimo mrsimo committed Apr 16, 2011
Showing with 0 additions and 17 deletions.
  1. +0 −17 lib/gpgme/aux.rb
View
@@ -4,9 +4,6 @@ module GPGME
module Aux
##
- # TODO consider moving somewhere else so that it doesn't appear
- # in the documentation.
- #
# Auxiliary method used by all the library to generate exceptions
# from error codes returned by the C extension.
def error_to_exception(err)
@@ -70,20 +67,6 @@ def error_to_exception(err)
private
- ##
- # DEPCRECATED ideally use consistent parameters that don't need this kind
- # of method.
- def split_args(args_options)
- if args_options.length > 0 and args_options[-1].respond_to? :to_hash
- args = args_options[0 ... -1]
- options = args_options[-1].to_hash
- else
- args = args_options
- options = Hash.new
- end
- [args, options]
- end
-
##
# TODO find out what it does, can't seem to find a proper parameter that
# returns something other than nil.

0 comments on commit 65dfa2f

Please sign in to comment.