Class: Dag::Standard::Sink
Overview
Encapsulates information about the sink of a link
Instance Attribute Summary
Attributes inherited from EndPoint
Class Method Summary collapse
-
.from_edge(edge) ⇒ Object
Factory Construction method creates a sink instance from a link.
Methods inherited from EndPoint
from, from_resource, #initialize, #matches?
Constructor Details
This class inherits a constructor from Dag::Standard::EndPoint
Class Method Details
.from_edge(edge) ⇒ Object
Factory Construction method creates a sink instance from a link
44 45 46 |
# File 'lib/dag/standard.rb', line 44 def self.from_edge(edge) self.new(edge.descendant_id) end |