Class: SubObject::SubArray

Inherits:
SubObject show all
Defined in:
lib/sub_object/sub_array.rb

Overview

Child class of SubObject for Array: SubObject::SubArray

See for detail the full reference in the top page SubObject and in Github

Author:

  • Masa Sakano (Wise Babel Ltd)

Constant Summary collapse

TO_SOURCE_METHOD =

Symbol of the method that projects to (returns) the original-like instance; e.g., :to_str for String. The value should be overwritten in the child class of SubObject.

:to_ary

Constants inherited from SubObject

DESTRUCTIVE_METHODS

Instance Attribute Summary

Attributes inherited from SubObject

#attr, #pos

Method Summary

Methods inherited from SubObject

#<=>, #==, #===, #=~, #initialize, #inspect, #inspect_before_sub_object, #is_a?, #kind_of?, #method_missing, #pos_size, #respond_to_missing?, #source, #subsize, #to_s, #to_source, verbose, verbose=

Constructor Details

This class inherits a constructor from SubObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SubObject