Module ArrayFields
In: lib/arrayfields.rb

The ArrayFields module implements methods which allow an Array to be indexed by String or Symbol. It is not required to manually use this module to extend Arrays - they are auto-extended on a per-object basis when Array#fields= is called

Methods

[]   []=   at   clone   deepcopy   delete_at   dup   each_key   each_pair   each_value   each_with_field   fetch   fill   has_key?   has_value?   indexes   indices   invert   key?   keys   member?   replace   slice   slice!   store   to_h   to_hash   to_pairs   update   value?   values   values_at   version  

Classes and Modules

Class ArrayFields::FieldSet

Constants

VERSION = '4.7.4' unless defined? self::VERSION

External Aliases

'to_pairs' -> 'pairs'

Public Class methods

Public Instance methods

methods redefined to work with fields as well as numeric indexes

methods which give a hash-like interface

[Validate]