Class: Array

Inherits:
Object show all
Defined in:
lib/orange-core/magick.rb,
lib/orange-core/magick.rb

Instance Method Summary collapse

Instance Method Details

#extract_options!Object

:nodoc:



7
8
9
# File 'lib/orange-core/magick.rb', line 7

def extract_options! 
  last.is_a?(::Hash) ? pop : {}
end

#extract_with_defaults(defaults) ⇒ Object



10
11
12
# File 'lib/orange-core/magick.rb', line 10

def extract_with_defaults(defaults) 
  extract_options!.with_defaults(defaults)
end