Sha256: 32b94c61e069a5f9d21b2860ce96c1642c4fad298e26418f6e88282b0193ccae

Contents?: true

Size: 79 Bytes

Versions: 129

Compression:

Stored size: 79 Bytes

Contents

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

Version data entries

129 entries across 127 versions & 13 rubygems

Version Path
sshkit-1.23.2 lib/core_ext/array.rb
sshkit-1.23.1 lib/core_ext/array.rb
sshkit-1.23.0 lib/core_ext/array.rb
sshkit-1.22.2 lib/core_ext/array.rb
sshkit-1.22.1 lib/core_ext/array.rb
sshkit-1.22.0 lib/core_ext/array.rb
sshkit-1.21.7 lib/core_ext/array.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/sshkit-1.21.6/lib/core_ext/array.rb
sshkit-1.21.6 lib/core_ext/array.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/sshkit-1.21.5/lib/core_ext/array.rb
sshkit-1.21.5 lib/core_ext/array.rb
sshkit-1.21.4 lib/core_ext/array.rb
sshkit-1.21.3 lib/core_ext/array.rb
sshkit-1.21.2 lib/core_ext/array.rb
sshkit-1.21.1 lib/core_ext/array.rb
jeanine-0.8.1 lib/jeanine/core_ext/array.rb
jeanine-0.8 lib/jeanine/core_ext/array.rb
jeanine-0.7.8 lib/jeanine/core_ext/array.rb
jeanine-0.7.7 lib/jeanine/core_ext/array.rb
jeanine-0.7.6 lib/jeanine/core_ext/array.rb