Method: Functional::Tuple#length

Defined in:
lib/functional/tuple.rb

#lengthFixnum Also known as: size

The number of items in the tuple.

Returns:

  • (Fixnum)

    the number of items in the tuple



79
80
81
# File 'lib/functional/tuple.rb', line 79

def length
  @data.length
end