class Schizm::Parse::ChunkRef
Chunk
reference.
Public Class Methods
new(filename, label)
click to toggle source
# File lib/schizm/parse.rb, line 91 def initialize filename, label @filename = filename @label = label end
Public Instance Methods
to_s()
click to toggle source
# File lib/schizm/parse.rb, line 95 def to_s Chunk.each do |chunk| if chunk.label == @label and (chunk.filename == @filename or chunk.share?) return "#{Env.docs_path(@filename)}\##{chunk.id(1)}" end end return "" end