Method: Link#initialize

Defined in:
lib/lucidMachines/elements.rb

#initialize(entry) ⇒ Link

Returns a new instance of Link.



103
104
105
106
107
108
109
110
# File 'lib/lucidMachines/elements.rb', line 103

def initialize(entry)
  super(entry)
  @source = entry["Line Source"]
  @destination = entry["Line Destination"]

  @source_arrow = entry["Source Arrow"]
  @destination_arrow= entry["Destination Arrow"]
end