Remove unused code
This commit is contained in:
parent
a0dd3c9a59
commit
feb12c0cae
1 changed files with 0 additions and 15 deletions
|
@ -19,20 +19,5 @@ module Mutant
|
||||||
Marshal.load(Marshal.dump(object))
|
Marshal.load(Marshal.dump(object))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Extract option from options hash
|
|
||||||
#
|
|
||||||
# @param [Hash] options
|
|
||||||
# @param [Object] key
|
|
||||||
#
|
|
||||||
# @return [Object] value
|
|
||||||
#
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
def self.extract_option(options, key)
|
|
||||||
options.fetch(key) do
|
|
||||||
raise ArgumentError,"Missing #{key.inspect} in options"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue