- ra() Create a Ruby::Collections::Array with optional arguments or any array ref. If array ref is also a Ruby::Collections::Array, it will be nested in instead of wrapped up.
-
Examples: ra -> [] ra( 1, 2, 3 ) -> [ 1, 2, 3 ] ra( [ 1, 2, 3 ] ) -> [ 1, 2, 3 ] ra( ra( 1, 2, 3 ) ) -> [ [ 1, 2, 3 ] ]
- rh() Create a Ruby::Collections::Hash with optional arguments or any hash ref.
-
Examples: rh -> {} rh( { 'a' => 1 } ) -> { 'a' => 1 } rh( 'a' => 1 ) -> { 'a' => 1 } rh( 'a', 1 ) -> { 'a' => 1 }
- p() Print the data structure of any object. If the object is simply a scalar, it will be printed out directly. Undefined object will be printed as 'undef' instead of ''.
- p_obj() Same as p(). Instead of printing the result, it simply returns a string.
- p_array() Retuen the stringfied data structure of any ARRAY. Undefined object will be printed as 'undef' instead of ''.
- p_hash() Print the stringfied data structure of any HASH. Undefined object will be printed as 'undef' instead of ''.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 13:
'=item' outside of any '=over'
=over without closing =back