RDoc::ERBIO - ri - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


= RDoc::ERBIO < ERB

(from gem rdoc-7.2.0)
------------------------------------------------------------------------
A subclass of ERB that writes directly to an IO.  Credit to Aaron
Patterson and Masatoshi SEKI.

To use:

  erbio = RDoc::ERBIO.new '<%= "hello world" %>', nil, nil

  File.open 'hello.txt', 'w' do |io|
    erbio.result binding
  end

Note that binding must enclose the io you wish to output on.
------------------------------------------------------------------------
= Class methods:

  new

= Instance methods:

  set_eoutvar


Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 08:04 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!