Class: GtkApp::Helpers::Array

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk_app/helpers.rb

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



10
11
12
# File 'lib/gtk_app/helpers.rb', line 10

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