First  |  Prev |  Next  |  Last
Pages: 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
RDoc and HTML5: 'tt' -> 'code'
I read that HTML5 has deprecated the <tt> tag. In that case I suggest that RDoc change the inline markup of +foo+ to output <code>foo</code> instead. (It will look better on github anyway). Also, I find Markdowns `foo` syntax to be much readable when looking at the plain text. It would be great if RDoc could suppor... 27 May 2010 13:43
heads-up for arch linux users: rvm installer workaround
Anyone on arch linux planning on using rvm, note that the installer script is broken. The basic problem is that arch linux by default installs hd2u to provide dos2unix, and this does the wrong thing when run on a unix file (hd2u's default behaviour is to flip unix->dos or dos->unix, rather than to leave unix as uni... 27 May 2010 13:43
Ruby as Client Side Language in Web Browser (replacing JS)
Hi everybody, I was thinking about the old days when IE was able to execute script both in JS and VB. Do you think can be a good idea to include in a web browser a Ruby VM to execute client side script written in ruby? thanks Simone -- Posted via ... 1 Jun 2010 02:11
Module methods
i wanted to have a Module method having the same name as another one (from Kernel ?) : module PlaySound .... def PlaySound.rand play a random sound end .... end then i had a stack overflow and found renaming the method to "PlaySound.random" was OK. I don' understand because i thougth Modules a... 27 May 2010 14:49
[ADV] Compleat Rubyist in Chicago -- space still available!
Hi everybody -- There are still spaces available for The Compleat Rubyist, a two-day Ruby training event with me, Gregory Brown, and Jeremy McAnally, taking place in the Chicago area (Arlington Heights), June 18-19, 2010. We've got a very cool event put together for you, including four big Ruby topics over tw... 27 May 2010 08:09
[Note: parts of this message were removed to make it a legal post.] unsubscribe -- Best Regards Cooper Geng ... 27 May 2010 08:09
If call method HTML file not create
def Readfrom_file(fieldata,log,result) @fielddata = 1234 @log = 123 @result = 12322 puts @fielddata puts @log puts @result fileHtml ="C:\\test\\test.html", "w+") fileHtml.puts "<CENTER><B>RESULT<\B></CENTER><br>" fileHtml.puts "<TABLE WIDTH='50' BORDER='1' ALIGN='center'>" fileHtml.puts... 27 May 2010 11:28
Badly organized code?
Hi all, I am writing generic command line scripts and here is a minimal example: - which I am quite happy with. Now the required 'biopieces' class is here - but this I am not really happy with. Mainly, I think it is poorly organized? Suggestions? Martin -- ... 27 May 2010 11:28
file copy
Hi I am having a weird problem. I have the following code. require "fileutils" FileUtils.cp '/path/to/file.txt', '/path/to/archive/file-date.txt''/path/to/file.txt', 'w') What I want to do is copy file.txt content to file-date.txt in a sub directory, then reset file.txt to empty. But after... 27 May 2010 05:58
Error invoking PDFTK when running from TextMate
Raimon Fs wrote: Hello, I have some simple code that works perfectly from irb and from RoR, but when I try to run it from TextMate (command R) I'm getting always the error: PDF::Toolkit::ExecutionError: Error invoking PDFTK require "rubygems" require 'pdf/toolkit' require "ActiveSupp... 26 May 2010 16:55
First  |  Prev |  Next  |  Last
Pages: 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98