module Collapsium::ViralCapabilities::ViralAncestorTypes
Any Object (Class, Module) that's enhanced with ViralCapabilities
will at least be extended with a module defining its Hash and Array ancestors.
Attributes
array_ancestor[W]
hash_ancestor[W]
Public Instance Methods
array_ancestor()
click to toggle source
# File lib/collapsium/viral_capabilities.rb, line 49 def array_ancestor return @array_ancestor || DEFAULT_ANCESTORS[:array_ancestor] end
hash_ancestor()
click to toggle source
# File lib/collapsium/viral_capabilities.rb, line 44 def hash_ancestor return @hash_ancestor || DEFAULT_ANCESTORS[:hash_ancestor] end