https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112014-10-17T06:40:21ZRuby Issue Tracking SystemRuby master - Feature #10395: erb: allow variables to be set from the command linehttps://redmine.ruby-lang.org/issues/10395?journal_id=495092014-10-17T06:40:21Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/49509/diff?detail_id=35723">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>seki (Masatoshi Seki)</i></li><li><strong>Target version</strong> set to <i>Ruby 2.2.0</i></li></ul><p>No new features for maintenance branches.<br>
And your patch doesn't allow options after variables.</p>
<p><a href="https://github.com/nobu/ruby/compare/Feature%2310395-erb-variables-from-commandline" class="external">https://github.com/nobu/ruby/compare/Feature%2310395-erb-variables-from-commandline</a></p> Ruby master - Feature #10395: erb: allow variables to be set from the command linehttps://redmine.ruby-lang.org/issues/10395?journal_id=495112014-10-18T02:28:13Zjosb (Jos Backus)jos@catnook.com
<ul></ul><p>Thanks Nobu, that looks like a much better implementation. Appreciate your help.</p> Ruby master - Feature #10395: erb: allow variables to be set from the command linehttps://redmine.ruby-lang.org/issues/10395?journal_id=503802014-12-12T10:49:12Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset ruby-trunk:r48786.</p>
<hr>
<p>erb: set variables from the command line</p>
<ul>
<li>bin/erb (ARGV.switch, ERB::Main#run): allow variables to be set<br>
from the command line. <a href="/issues/10395">[ruby-core:65772]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: erb: allow variables to be set from the command line (Closed)" href="https://redmine.ruby-lang.org/issues/10395">#10395</a>]</li>
</ul> Ruby master - Feature #10395: erb: allow variables to be set from the command linehttps://redmine.ruby-lang.org/issues/10395?journal_id=955482021-12-23T23:41:09Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Project</strong> changed from <i>14</i> to <i>Ruby master</i></li><li><strong>Target version</strong> deleted (<del><i>Ruby 2.2.0</i></del>)</li></ul>