Class: Array

Overview

add various aliases & functions to existing Class(Array)

Instance Method Summary collapse

Methods included from Ruuuby::Attribute::Includable::Notation::SetMathematics

included

Methods included from Ruuuby::Feature::Includable::ArrayF09

#∖

Methods included from Ruuuby::Feature::Includable::ArrayF08

#end_with?, #ensure_ending!, #ensure_start!, #start_with?, #η̂!

Methods included from Ruuuby::Attribute::Includable::Cardinality

included, #𝔠₁?, #𝔠₂?, #𝔠₃?, #𝔠₄?, #𝔠₅?, #𝔠₋

Methods included from Ruuuby::Attribute::Includable::SubscriptIndexing

#₀, #₀?, #₁, #₁?, #₂, #₃

Instance Method Details

#convert_to_jsonHash

Returns:

Raises:

  • (RuntimeError)


179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'lib/ruuuby/class/enumerable/ary.rb', line 179

def convert_to_json
  contents = {}
  self.

#maxᵢInteger

Returns:

See Also:

  • credit to: https://stackoverflow.com/questions/2149802/in-ruby-what-is-the-cleanest-way-of-obtaining-the-index-of-the-largest-value-in


168
# File 'lib/ruuuby/class/enumerable/ary.rb', line 168

def max

#∀𝚡λ𝑓🖨️Object

Raises:

  • (RuntimeError)


171
172
173
174
# File 'lib/ruuuby/class/enumerable/ary.rb', line 171

def 

#≈≈(them) ⇒ Boolean

Returns true, if both arrays are matching in contents, supports multiple types and without order mattering.

Parameters:

Returns:

  • (Boolean)

    true, if both arrays are matching in contents, supports multiple types and without order mattering.

Raises:

  • (ArgumentError)


138
139
140
141
# File 'lib/ruuuby/class/enumerable/ary.rb', line 138

def