class JekyllRPG::Edge

Edge between two documents

Attributes

reference[RW]
referent[RW]

Public Class Methods

new(referent, reference) click to toggle source
# File lib/edge.rb, line 8
def initialize(referent, reference)
  @referent = referent
  @reference = reference
end

Public Instance Methods

hash() click to toggle source
# File lib/edge.rb, line 13
def hash
  {
    'reference' => reference.hash,
    'referent' => referent.hash
  }
end