ANN: InstantERB

Discussion in 'Ruby' started by Jack Christensen, Mar 27, 2007.

  1. Inspired by Florian Gross's Execute as Ruby Code Service for OS X
    (http://www.ruby-forum.com/topic/102680), I have created InstantERB. It
    uses the incredibly useful AutoHotKey utility. It will run any selected
    text through ERB.

    For example, selecting the following block of text and hitting <Windows>+I:

    The value of pi is approximately <%= Math::pI %>.

    % 3.times do |i|
    <%= i %>
    % end

    will yield:

    The value of pi is approximately 3.14159265358979.

    0
    1
    2


    Installation instructions:
    Install AutoHotKey (http://www.autohotkey.com/)
    Download http://www.jackchristensen.com/file_download/InstantERB.ahk

    You can either run InstantERB.ahk directly or copy and paste it into
    your own AutoHotKey file.


    Jack Christensen
     
    Jack Christensen, Mar 27, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Sampson [MSFT]

    [ANN]: NNTP Server slow downs.

    Mike Sampson [MSFT], Oct 7, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    417
    Mike Sampson [MSFT]
    Oct 7, 2003
  2. Mike Sampson [MSFT]

    [ANN]: NNTP Server slow downs.

    Mike Sampson [MSFT], Dec 6, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    502
    Mike Sampson [MSFT]
    Dec 6, 2003
  3. Richard Grimes [MVP]

    ANN: Free .NET Workshops

    Richard Grimes [MVP], Jul 4, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    506
    Richard Grimes [MVP]
    Jul 4, 2005
  4. Tom Hawkins

    [ANN] Confluence 0.7.1 Released

    Tom Hawkins, Oct 23, 2003, in forum: VHDL
    Replies:
    0
    Views:
    497
    Tom Hawkins
    Oct 23, 2003
  5. Michael Livsey
    Replies:
    3
    Views:
    429
    Michael Livsey
    May 27, 2004
Loading...

Share This Page