Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6227699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:16:01+00:00 2026-05-24T09:16:01+00:00

<– Seems to be unsearchable on the web so had to ask the question

  • 0

<-- Seems to be unsearchable on the web so had to ask the question here.

What is their searchable name, and how do I add variables inline?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:16:02+00:00Added an answer on May 24, 2026 at 9:16 am

    That syntax is for declaring a HERE DOCUMENT
    http://www.ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#here_doc

    There’s a line-oriented form of the string literals that is usually
    called as `here document’. Following a << you can specify a string or
    an identifier to terminate the string literal, and all lines following
    the current line up to the terminator are the value of the string. If
    the terminator is quoted, the type of quotes determines the type of
    the line-oriented string literal. Notice there must be no space
    between << and the terminator.

    If the – placed before the delimiter, then all leading whitespcae
    characters (tabs or spaces) are stripped from input lines and the line
    containing delimiter. This allows here-documents within scripts to be
    indented in a natural fashion.

    Regarding interpolation, the link gives more details, but it is like a double quoted string if your string is delimited as below (ignore this page’s color formatting)

    <<-HERE
       I can interpolate #{foo}
    HERE
    

    whereas it is like a single quoted string

    <<-'HERE'
     This will print out #{foo} as text
    HERE
    

    Also the original pickaxe is a good source http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got the following login script.. <?php $name = $_POST[name]; $password = $_POST[password]; $query
Possible Duplicate: replace all occurrences in a string I found this question/answer: Use JavaScript
My NSXMLParser breaks on this string: <title>AAA &#8211; BCDEFGQWERTYUIO</title> I parsed it in this
An extension to my previous question: Text cleaning and replacement: delete \n from a
I am getting the value from web service like &gt;&lt;&amp;&nbsp; etc. I want to
I am generating some text to be shown on a web-site, and use HttpUtility.HtmlEncode
I'm having troubles with my meta tags with Open Graph. It seems as though
I would like to count the length of a string with PHP. The string
So to start, I have an array of XML files. These files need to
I'm struggling to position the second level of a dropdown nav menu and was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.