class Bricolage::JobNet::JobNetRef
Attributes
jobnet[RW]
Public Class Methods
for_job_path(path)
click to toggle source
# File lib/bricolage/jobnet.rb, line 414 def JobNetRef.for_job_path(path) new(path.parent.basename, JobRef.strip_exts(path), Location.dummy) end
for_path(path)
click to toggle source
# File lib/bricolage/jobnet.rb, line 410 def JobNetRef.for_path(path) new(path.parent.basename, path.basename('.jobnet'), Location.dummy) end
new(subsys, name, location)
click to toggle source
Calls superclass method
Bricolage::JobNet::Ref::new
# File lib/bricolage/jobnet.rb, line 418 def initialize(subsys, name, location) super @jobnet = nil @start = nil @end = nil end
Public Instance Methods
end()
click to toggle source
# File lib/bricolage/jobnet.rb, line 452 def end @jobnet.end end
end_ref()
click to toggle source
# File lib/bricolage/jobnet.rb, line 443 def end_ref @end ||= JobRef.new(subsystem, "@#{name}@end", location) end
net?()
click to toggle source
# File lib/bricolage/jobnet.rb, line 427 def net? true end
relative_path()
click to toggle source
# File lib/bricolage/jobnet.rb, line 435 def relative_path "#{subsystem}/#{name}.jobnet" end
start()
click to toggle source
# File lib/bricolage/jobnet.rb, line 448 def start @jobnet.start end
start_ref()
click to toggle source
# File lib/bricolage/jobnet.rb, line 439 def start_ref @start ||= JobRef.new(subsystem, "@#{name}@start", location) end
to_s()
click to toggle source
Calls superclass method
Bricolage::JobNet::Ref#to_s
# File lib/bricolage/jobnet.rb, line 431 def to_s '*' + super end