Displaying 1 result from an estimated 1 matches for "each_with_field".
2006 Nov 04
0
arrayfields-3.6.0
...''] #=> 574865032
LIST OF OVERRIDDEN METHODS:
- Array#[]
- Array#[]=
- Array#at
- Array#delete_at
- Array#fill
- Array#values_at
- Array#indices
- Array#indexes
- Array#slice
- Array#slice!
LIST OF NEW Array METHODS:
- Array#fields=
- Array#each_with_field
DOCS/USAGE/SAMPLE:
- lib/arrayfields.rb
- test/arrayfields.rb
AUTHOR:
ara.t.howard@noaa.gov
HISTORY:
3.6.0:
- made string/symbol keys interchangeable
list = [0, 1, 2]
list.fields = %w( a b c )
p list[''a''] #=> 0
p lis...