module KeyTree::Refinements
KeyTree
refinements to core classes
Public Instance Methods
to_key_forest()
click to toggle source
# File lib/key_tree/refinements.rb, line 7 def to_key_forest Forest[*map(&:to_key_wood)] end
to_key_path()
click to toggle source
# File lib/key_tree/refinements.rb, line 12 def to_key_path Path.new(self) end
to_key_tree()
click to toggle source
# File lib/key_tree/refinements.rb, line 18 def to_key_tree Tree[self] end