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
evrone-ci-router-0.2.0.pre19 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre18 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre17 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre15 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre14 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre13 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre12 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre11 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre10 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre9 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre8 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre7 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre6 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre5 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre4 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre3 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre1 lib/evrone/ci/router/ext/array.rb
evrone-ci-router-0.2.0.pre0 lib/evrone/ci/router/ext/array.rb