class Jsm::Drawer::Node
Attributes
from[R]
label[R]
to[R]
Public Class Methods
new(params = {})
click to toggle source
# File lib/jsm/drawer/node.rb, line 3 def initialize(params = {}) @from = params[:from] @to = params[:to] @label = params[:label] end
Public Instance Methods
to_s()
click to toggle source
# File lib/jsm/drawer/node.rb, line 9 def to_s "#{from.to_s}->#{to.to_s}[label=#{label.to_s}]" end