Module: Tree::KeysProperty

Included in:
DotAlgorithms
Defined in:
lib/modular_tree/properties.rb

Overview

Map

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



57
# File 'lib/modular_tree/properties.rb', line 57

def [](key) = abstract_method

#key?(k) ⇒ Boolean

Returns:

  • (Boolean)


56
# File 'lib/modular_tree/properties.rb', line 56

def key?(k) = keys.include? k

#keysObject



55
# File 'lib/modular_tree/properties.rb', line 55

def keys = abstract_method