Class: Ars::Medium::TestMethods::RackChanneler::RHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/ars/medium/test_methods.rb

Instance Method Summary collapse

Instance Method Details

#[](lookup) ⇒ Object



20
21
22
# File 'lib/ars/medium/test_methods.rb', line 20

def [](lookup)
  (find {|rkey,_| lookup =~ rkey } || []).last
end