lib/erector/output.rb
def placeholder
      s = ""
      buffer << s
      s
    end
# Inserts a blank string into the output stream and returns a pointer to it.
# If the caller holds on to this pointer, she can later go back and insert text
# earlier in the stream. This is used for, e.g., inserting stuff inside the
# HEAD element that is not known until after the entire page renders.
Inserts a blank string into the output stream and returns a pointer to it.
If the caller holds on to this pointer, she can later go back and insert text
earlier in the stream. This is used for, e.g., inserting stuff inside the
HEAD element that is not known until after the entire page renders.
Inserts a blank string into the output stream and returns a pointer to it . If the caller holds on to this pointer she can later go back and insert text earlier in the stream . This is used for e . g . inserting stuff inside the HEAD element that is not known until after the entire page renders .
def placeholder
      s = ""
      buffer << s
      s
    end
def placeholder s = "" buffer << s s end
Inserts a blank string into the output stream and returns a pointer to it.
Inserts a blank string into the output stream and returns a pointer to it .