Class: Set

Inherits:
Object show all
Includes:
Rupture::Fn
Defined in:
lib/rupture/fn.rb

Instance Method Summary collapse

Methods included from Rupture::Fn

#<<, #>>, #arity, #block, #comp, #complement, #fnil, #partial, #rpartial, #to_proc

Instance Method Details

#[](key) ⇒ Object Also known as: call



102
103
104
# File 'lib/rupture/fn.rb', line 102

def [](key)
  key if include?(key)
end