class Object

Constants

Arrayfields
Fieldedarray

proxy class that allows an array to be wrapped in a way that still allows # keyword access. also facilitate usage of ArrayFields with arraylike objects. thnx to Sean O’Dell for the suggestion.

sample usage

fa = FieldedArray.new %w(zero one two), [0,1,2] p fa #=> 0

Pseudohash

Public Instance Methods

Arrayfields(*a, &b) click to toggle source
# File lib/arrayfields.rb, line 303
def Arrayfields(*a, &b) Arrayfields.new(*a, &b) end