Sha256: e9d172f8c5ec219a961d97567c93a3497b8182b687aa01208019079d7b5bad7f

Contents?: true

Size: 87 Bytes

Versions: 38

Compression:

Stored size: 87 Bytes

Contents

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

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
vx-router-0.2.0.pre38 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre37 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre36 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre35 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre34 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre33 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre32 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre31 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre30 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre29 lib/vx/router/ext/array.rb
vx-router-0.2.0.pre28 lib/vx/router/ext/array.rb
evrone-ci-router-0.2.0.pre28 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre27 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre26 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre25 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre24 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre23 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre22 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre21 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre20 lib/evrone/ci/router/ext/array.rb