Class: Array

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

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#extract_options!Object



443
444
445
# File 'lib/helipad.rb', line 443

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

#extract_search_term!Object



447
448
449
# File 'lib/helipad.rb', line 447

def extract_search_term!
  last.is_a?(::String) ? pop : nil
end