Class: Array

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) extract_options!



122
123
124
# File 'lib/sinatra/ratpack.rb', line 122

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