[#401818] rdoc 4.0.0.preview2 — Eric Hodel <drbrain@...7.net>
rdoc version 4.0.0.preview2 has been released!
[#401829] Trouble with date — "Pierre-Andre M." <lists@...>
Im trying to incorporate the date into a directory path
[#401839] URI regex help — "Pierre-Andre M." <lists@...>
I am trying to extract the fields of a URL path.
[#401845] changing superclass — Nokan Emiro <uzleepito@...>
Hi metaprogrammers,
Nokan Emiro wrote in post #1087546:
Hi,
[#401849] If statement — Masoud Ahmadi <lists@...>
Will anyone be able to point out what I am doing wrong.
On Sun, Dec 2, 2012 at 4:43 PM, Masoud Ahmadi <lists@ruby-forum.com> wrote:
[#401858] Attribute ordering in REXML — Uwe Kubosch <uwe@...>
Hi all!
[#401869] system is silently coming out in error with thread.join — Prog Rammer <lists@...>
There are two rb files:
[#401878] Cross compiling — Alberich de megres <alberich2k5@...>
Hi!
Hello Again,
Subject: Re: Cross compiling
[#401907] selenium-webdriver + puts page title — "Mattias A." <lists@...>
Hi,
Am 04.12.2012 18:43, schrieb Mattias A.:
[#401909] Extract number (float) from string — "Alexander G." <lists@...>
Hi Please advice how to extract exact number from string:
prices = [
[#401928] Unable to run the program. — <sachin.s32@...>
Hey all,
[#401938] Surds in Ruby — Nuggety Nanna <lists@...>
I was wondering if anyone knows of a way to express surds in Ruby. Again
Hi,
Jan E. wrote in post #1087890:
Nuggety Nanna wrote in post #1087895:
Jan E. wrote in post #1087901:
Nuggety Nanna wrote in post #1087904:
[#401945] Organizing code to avoid name space collision — Martin Hansen <lists@...>
Hello,
On Wed, Dec 5, 2012 at 12:17 PM, Martin Hansen <lists@ruby-forum.com> wrote:
Thanks Robert,
On Wed, Dec 5, 2012 at 7:28 PM, Martin Hansen <lists@ruby-forum.com> wrote:
> How is it decided which of the two is included in regular code?
On Thu, Dec 6, 2012 at 11:52 AM, Martin Hansen <lists@ruby-forum.com> wrote:
[#401956] Find element test with webdriver — "Mattias A." <lists@...>
Hi, if my test not find the element i want it to continue and output
[#401961] Feedback on Code/Script — Nuggety Nanna <lists@...>
Hey guys, I am currently creating a Vector Calculator program on Mac
[#401962] Having isues with capitalizing words — JD KF <lists@...>
So, this is a method I have made:
Try using "and"s instead of "or"s.
[#401971] Array#concat Enumerator — Intransition <transfire@...>
Shouldn't this work?
[#401972] how to reproduce error System error (Failure) Imap — Lucky Nl <lists@...>
Hi friends,
[#401978] Browser close/open issue watir-webdriver using IE. — Prog Rammer <lists@...>
Hi, at the end of execution I see that there is a browser window which
[#401987] Trying to get "translator" to work — JD KF <lists@...>
So, basically, I'm trying to get the below code to work properly for
[#402012] Need help to select some listbox item in different listbox together — Jonathan Masato <lists@...>
Hello,
I did experiment briefly with multidimensional listboxes in Tk, but I
[#402033] Re: Mentoring Request — karthik kottapalli <kartik.kottapalli@...>
Hi all,
[#402034] strange syntax error on rename — peteV <pete0verse@...>
Hi,
On 12/07/2012 05:17 PM, peteV wrote:
I think the error is due to a missing 'end'
here's how i'd do it: https://gist.github.com/4237869
[#402045] if n belongs to set a and m belongs to set b repeat some steps, How? — "zubair a." <lists@...>
We can do so in java and similar languages like:
[#402067] Getting info from array — Krzysztof Kowalski <krisik28@...>
Hello there.
On Sat, Dec 8, 2012 at 7:35 PM, Krzysztof Kowalski <krisik28@gmail.com> wrote:
[#402071] Searching a hash by value — Ferdous ara <lists@...>
Hi
[#402078] Time.new(2001, 12, 3).to_i returns wrong value — Robert Buck <lists@...>
I am doing something that not many do, I am writing a database driver
I basically subtracted the timezone offset for Time.new from my C code
[#402086] Help me improve Hash#rekey — Intransition <transfire@...>
The note `TODO: Improve Hash#rekey code!!!` has been in my docs for too
[#402104] Binary Fixed-Point in Ruby? (Improved FixedPt?) — Axel Friedrich <lists@...>
Hi,
There is BigDecimal in the standard library.
[#402108] Array of a class' attribute — "Leo M." <lists@...>
Hi there,
[#402135] gedit - graphic display of block of code — "Sebastjan H." <lists@...>
Hi,
[#402145] How I can create/extract a variable/hash into the current binding in Ruby? — Ramon de C Valle <rcvalle@...>
Hi,
Hi,
To expand on Jan's comments, note the difference in disassemblies:
Hi,
On Wed, Dec 12, 2012 at 12:40 PM, Ramon de C Valle <rcvalle@redhat.com> wrote:
[#402146] current state of qtruby? — Martin DeMello <martindemello@...>
I did a small Python/Qt project at work that has gotten me pretty
[#402153] Enumerable#zip with File IO — 林彰史 <hayashi.akifumi.sub@...>
Hello,
Hi,
Yes I agree that it makes no sense, but I wanted to see how zip method
[#402173] Database query — cristian cristian <lists@...>
Hi all!
[#402188] ruby on rails or sinatra for dynamic browser application — LMH medchem <lists@...>
I need to write a simple html file or web application that will allow me
[#402196] Ruby class hierarchy confusion — Joz Private <lists@...>
I'm somewhat confused about the Ruby object hierarchy.
[#402198] Invoking bash from Ruby — Paul Mena <lists@...>
I'm a novice at Ruby, although I've been introduced to its syntax by
[#402205] Wondering About Flatiron School — "Kevin Y." <lists@...>
Hi everyone!,
@ Florian:
On Sat, Dec 15, 2012 at 11:51:08AM +0900, Kevin Y. wrote:
Just to put in a spanner in the works here. I'm the guy who decides who
Peter Hickman wrote in post #1089175:
Chad Perrin wrote in post #1089161:
On Sun, Dec 16, 2012 at 08:40:19AM +0900, Kevin Y. wrote:
Hi Everyone,
On Mon, Dec 17, 2012 at 4:33 PM, Avi F. <lists@ruby-forum.com> wrote:
I think the reason why some of us are so sceptical about this "euphoric
[#402214] Ruby quick reference arranged in ASCII sequence? — Old Grantonian <lists@...>
As a ruby beginner, I would be grateful for any links to a ruby
Hi,
On Sat, Dec 15, 2012 at 7:00 AM, Old Grantonian <lists@ruby-forum.com> wrote:
On Sat, Dec 15, 2012 at 9:26 AM, Eric Christopherson
tamouse mailing lists wrote in post #1089227:
[#402223] by value - by reference, circular reference — Michael Sas <lists@...>
Hi,
Allright, thanks robert. Its clear now how this attempt failed.
[#402226] print - and strip text between tags using Nokogiri — Paul Mena <lists@...>
I'm a Ruby Newbie trying to write a program to process thousands of HTML
On Sun, Dec 16, 2012 at 12:10 AM, Paul Mena <lists@ruby-forum.com> wrote:
[#402254] net/http post request with nested hash data ? — "AleiPhoenix (A.K.A Areverie)" <aleiphoenix@...>
Hi,
[#402274] Uncaught exception: cannot load such file -- — Prog Rammer <lists@...>
There is an empty file called include_test.rb and a file test.rb which
[#402300] Convert unix time to 2012-12-18 18:59:22 (sample) — robert lengu <lists@...>
Hi
[#402304] Need helping parsing XML data retrieved from rest call — "Charlie B." <lists@...>
I wrote a web service in C#/ASP and published in IIS. This web service
[#402314] NoMethodError raised for using 'raise' in code. — Meghana Kop <lists@...>
I have a superclass called EntryForm. All sub-classes of this class need
[#402318] Comunication via rs485 — iosu bueno <lists@...>
Is there any way to comunicate via rs485 with ruby? Any gem or project
[#402332] Perl to Ruby: regex captures to assignment. — "Derrick B." <lists@...>
Hello all,
First of all, thanks for the fast responses!
On Thu, Dec 20, 2012 at 1:38 AM, Derrick B. <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1089733:
Derrick B. wrote in post #1089748:
7stud -- wrote in post #1089755:
On Thu, Dec 20, 2012 at 7:23 PM, Derrick B. <lists@ruby-forum.com> wrote:
Robert Klemme wrote in post #1089807:
> an official definition of a newline
[#402345] Efficient way to encode a string with a secret string and recover it — Iñaki Baz Castillo <ibc@...>
Hi, basically I receive a string generated by a user, then "encode" it
[#402354] Subtracting strings — John Sampson <jrs.idx@...>
Is there a method for deleting a string identified in a variable from
[#402359] trying to strip characters from a line — Paul Mena <lists@...>
I'm reading a table from a MySQL database and then processing it row by
[#402365] A stupid question? — Al Baker <lists@...>
I'm trying to find a way to count the consonants in a sentence. how
[#402387] Tinytds - Save binary as file — Miguel Mendes <lists@...>
Hello,
[#402394] simple division: -9 / 5 = -2 what? — "Derrick B." <lists@...>
$ irb
I believe ruby followed c in the convention of integer/integer => integer
Derrick B. wrote in post #1089918:
7stud -- wrote in post #1089926:
On Sun, 23 Dec 2012 19:24:00 +0100, Derrick B. <lists@ruby-forum.com> wrote:
[#402412] POLS and string-handling — Paul Magnussen <lists@...>
Hi,
[#402440] Ruby game server woes — Na Na <lists@...>
Hi,
[#402460] "Open" dialog of Windows — "Damián M. González" <lists@...>
Hi guys, been researching about pop up the "open" file dialog of
[#402466] How do I install Ruby on my Ubuntu 12.10 partition. — Kaye Ng <lists@...>
I already have Ruby installed on my Windows 7 partition.
Thanks guys! So now how do I run a simple Ruby program inside Ubuntu?
duckhai you are wrong again its
Hey Derrick,
Hello,
[#402480] Accumulate total count for each month — Soichi Ishida <lists@...>
I have a file that contains a list of STRING datetime like
[#402503] When to use Hashed Parameters for method calls. — Ricky Ng <dummey@...>
I am currently having an internal debate on refactoring some code right now
Don't question the type of arguments... Question the number of arguments. 8 just reeks of design smell.
I should probably also note that I am working on a chunk of legacy code so
[#402510] Ruby Association Certified Ruby Programmer — Sean Westfall <lists@...>
How well respected is this certification in the industry: Ruby
On 27 December 2012 01:28, Sean Westfall <lists@ruby-forum.com> wrote:
I have noticed that this list has been taking on a rather nasty tone
On Thu, Dec 27, 2012 at 5:11 PM, Matt Lawrence <matt@technoronin.com> wrote:
On 27 December 2012 16:33, Robert Klemme <shortcutter@googlemail.com> wrote:
[#402519] using shebang with rvm? — Wesley Rishel <lists@...>
What would be the appropriate path to use after a shebang in the first
[#402555] numeric? — Brandon Weaver <keystonelemur@...>
I've found a bit of an annoyance trying to find out if a number is numeric
You might be better off to ask yourself why you need the type checking
I think we need more information, the return values are fixeds? what are
Sorry, I wasn't very clear. I was typing most of that from my Phone.
On Thu, Dec 27, 2012 at 11:32 PM, Brandon Weaver
I've already sorted them into classes and objects, so instance variables
On Fri, Dec 28, 2012 at 1:00 AM, Brandon Weaver <keystonelemur@gmail.com> wrote:
[#402580] Ruby Koans regarding Hashes. — "Derrick B." <lists@...>
I am trying to understand this, so let me know how I do. :) I know
> This is one of those "I get it, but then I do not get it" paradoxes.
7stud -- wrote in post #1090511:
[#402585] Ruby-debug and Windows 7 — John Sampson <jrs.idx@...>
Hello -
ruby-debug on Windows and 1.9.x is a problem many people have. If you
[#402588] automated translation tool - possible or not — "Sebastjan H." <lists@...>
Hi guys,
[#402592] How to run a ruby script — Nirav Bhatu <lists@...>
class Dungeonapp
Well I took you code and pasted it into a file and went
Peter Hickman wrote in post #1090473:
[#402609] can't open new ruby program under "new" context menu — "Lee V." <lists@...>
I'm stuck on the new version at trying to do something very simple.
I just uninstalled what I had and reinstalled using the steps given in
Lee V. wrote in post #1090514:
Well, I'm up to page 43 in Chris Pine's book and having a lot of fun, but I still can't figure out two basic things. One is what I've already asked you about. I'm just going to paste what his book says so you can see what I'm having trouble with:
Lee V. wrote in post #1090637:
Thank you! I downloaded Intype and everything makes sense now. I can write multi line programs, save them, and view the result in ruby now! Well, there's a little problem, actually. When I go to open the file, the ruby screen will appear for a fraction of a second and then close. It did this for 3 out of the 4 programs I saved. Is this a glitch that has an easy fix? By the way, if you don't mind me asking, what is your job title? I want to learn programming so I can get a job in it, but aside from a job with the word programmer in the title, I don't know what kind of jobs are out there. Basically, what can I do with this for a job?
[#402625] "unless" with Regex — "Pierre-Andre M." <lists@...>
I have a series of folders in a directory that I am trying to read out
[#402642] require "test/unit" — "Mattias A." <lists@...>
Hi,
Hi Dami叩n M. Gonz叩lez!
Mattias A. wrote in post #1090700:
Am 04.01.2013 19:48, schrieb Derrick B.:
unknown wrote in post #1091069:
On Fri, Jan 4, 2013 at 2:07 PM, Derrick B. <lists@ruby-forum.com> wrote:
Posted by tamouse mailing lists (Guest) on 2013-01-05 03:22
[#402647] Thread.start(variables) do question — Grant Schoep <lists@...>
So I have been looking at some code I inherited. I see two examples of
On Sun, Dec 30, 2012 at 2:38 AM, Grant Schoep <lists@ruby-forum.com> wrote:
On 30 December 2012 21:21, Robert Klemme <shortcutter@googlemail.com> wrote:
[#402649] Create interface to make binary tree program — Mas Bejo <lists@...>
i want to make program about balanced binary tree, i want to make like
[#402668] ruby make test error — Dev Guy <devguy.ca@...>
After building ruby from source I got the following error with, "make test"
[ANN] rdoc 4.0.0.preview2
rdoc version 4.0.0.preview2 has been released!
* home: https://github.com/rdoc/rdoc
* rdoc: http://docs.seattlerb.org/rdoc
* bugs: https://github.com/rdoc/rdoc/issues
RDoc produces HTML and command-line documentation for Ruby projects. RDoc
includes the +rdoc+ and +ri+ tools for generating and displaying documentation
from the command-line.
Changes:
=== 4.0.0.preview2
As a preview release, please file bugs for any problems you have with rdoc at
https://github.com/rdoc/rdoc/issues
RDoc 4.0 includes several new features and several breaking changes. The
changes should not affect users of `rdoc` or `ri`.
Notable feature additions are markdown support and an WEBrick servlet that can
serve HTML from an ri store. (This means that RubyGems 2.0+ no longer needs
to build HTML documentation when installing gems.)
* Breaking changes
* The default output encoding for RDoc is now UTF-8. Previously RDoc used
the default external encoding which was determined from your locale.
Issue #106 by Justin Baker.
* RDoc::RI::Store is now RDoc::Store so ri data generated by RDoc 4 cannot
be read by earlier versions of RDoc. RDoc::RI::Store exists as an alias
of RDoc::Store so ri data from older versions can still be read.
RDoc::RI::Store will be removed in RDoc 5.
Tests that create RDoc::CodeObjects on the fly without wiring them into
the documentation tree (did not use add_class, add_method, etc.) must be
updated to use these methods. The documentation tree automatically
attaches them to the store instance which allows lookups to work
correctly. Additionally, a new method RDoc::Store#add_file must be used
instead of RDoc::TopLevel.new. The latter will not be attached to the
documentation tree.
* RDoc generators must accept an RDoc::Store and an RDoc::Options in
initialize. RDoc no longer passes an Array of RDoc::TopLevel objects to
#generate. Use RDoc::Store#all_files instead.
* Some markup formatters (RDoc::Markup::To*) now accept an RDoc::Options
instance as the first argument. Notably, the base class Formatter and
ToHtml*. (This is not universal due to the difficult at accessing the
user's options instance deep inside RDoc. A future major release may
remedy this.)
* Added new markup nodes and specials that RDoc::Markup::Formatter
subclasses must handle. If you're using RDoc::Markup::FormatterTestCase
the new methods you need to add should be readily apparent.
* Removed RDoc::RI::Paths::SYSDIR and ::SITEDIR. These were hidden
constants so no breakage is expected. Use RDoc::RI::Paths::system_dir
and ::site_dir instead.
* RDoc::RI::Store#modules has been renamed to RDoc::Store#module_names
to avoid confusion with RDoc::Store#all_modules imported from
RDoc::TopLevel.
* RDoc::RDocError has been removed. It was deprecated throughout RDoc 3.
* ri -f html is no longer supported.
* Comment definitions in C comments are now only discovered from the first
line. A colon on a subsequent line won't trigger definition extraction.
Issue #103, see also
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42942
* Fixed :stopdoc: for class A::B where A has not been seen. Issue #95 by
Ryan Davis
* RDoc::ClassModule#each_ancestor no longer yields itself if there is
circular ancestry
* Major enhancements
* ri can now show pages (README, etc.)
ri rdoc:README
Will show the README for the latest version of RDoc. You can specify
exact gem versions such as "rdoc-4.0:README" or view pages from the
standard library documentation with "ruby:README".
RDoc 3 did not save pages in ri data so you will need to regenerate
documentation from your gems to use this feature.
* Added Markdown as a supported format. The markdown format can be set on a
per-file or per-comment basis with the +:markdown:+ directive like the rd
and tomdoc formats and on a per-project basis with
<tt>rdoc --markup markdown --write-options</tt>
* Removed global state from RDoc. RDoc::Store holds the documentation tree
and connects the driver to the parsers and generator. This also allows
documentation parsing and generation for multiple instances, but the rdoc
command-line tool does not support this.
Due to this change RDoc::RDoc.current and RDoc::RDoc.reset no longer
exist.
* Minor enhancements
* Added --root for building documentation from outside the source dir.
* Added a table of contents to the sidebar.
* RDoc markup format merges adjacent labels in a label or note list into a
single definition list item for output.
* RDoc now tracks use of extend. Pull request #118 by Michael Granger.
* RDoc now tracks methods that use super. Pull request #116 by Erik
Hollensbe.
* Added methods ::system_dir, ::site_dir, ::home_dir and ::gem_dir to fetch
the components of RDoc::RI::Paths.path individually.
* Added support for rb_file_const.
* RDoc now processes files in sorted order. Issue #71 by V咜 Ondruch
* RDoc now warns with --verbose when methods are duplicated. Issue #71 by
V咜 Ondruch
* ri will display documentation for all methods in a class if -a is given.
Issue #57 by casper
* The RDoc coverage report will report line information for attributes,
constants and methods missing documentation. Issue #121 by Zachary Scott
* RDoc now reports a warning for files that are unreadable due to
permissions problems.
* RDoc controls documentation generation for RubyGems 2.0+
* Bug fixes
* A word that is directly followed by a multi-word tidy link label no longer
disappears. (Like <code>text{link}[http://example]</code>)
* Fixed legacy template support. Pull Request #107 by Justin Baker.
* An HTML class in a verbatim section no longer triggers ruby parsing.
Issue #92 by Vijay Dev
* Improved documentation for setting the default documentation format for
your ruby project. Issue #94 by Henrik Hodne
* Fixed handling of LANG in the RDoc::Options tests. Issue #99 by V咜
Ondruch
* RDoc no longer quits when given an entry that is not a file or directory.
Issue #101 by Charles Nutter
* Fixed bug in syntax-highlighting that would corrupt regular expressions.
Ruby Bug #6488 by Benny Lyne Amorsen.
* "class Object" no longer appears in the coverage report if all its methods
are documented. This suppresses a false positive for libraries that add
toplevel methods. Pull Request #128 by Zachary Scott.
* Fixed test_gen_url test name in TestRDocMarkupToHtml. Pull Request #130
by Zachary Scott.
* Comment-defined methods ahead of define_method are now discovered. Issue
#133 by eclectic923
* Fixed detection of define_method documentation. Issue #138 by Marvin
Gker.
* Fixed lexing of character syntax (<code>?z</code>). Reported by Xavier
Noria.
* Add license to gem spec. Issue #144 by pivotalcommon
* Fixed comment selection for classes. Pull request #146 by pioz
* Fixed parsing of <code>def self.&() end</code>. Issue #148 by Michael
Lucy
* Generated RD parser files are now included in the gem. Issue #145 by
Marvin Gker
* Class and module aliases now create new classes to avoid duplicate names
in the class list. Issue #143 by Richard Schneeman, Rails Issue #2839
* RDoc::Markup::Parser now correctly matches indentation of lists when
multibyte characters are used in the list labels. Issue #140 by
burningTyger
* Fixed mangling of email addresses that look like labels. Issue #129 by
Tobias Koch
* Classes and modules in a C file may now be created in any order. Issue
#124 by Su Zhang
* A metaprogrammed method supports the :args: directive. Issue #100
* A metaprogrammed method supports the :yields: directive.
* RDoc will now look for directives up to the end of the line. For example,
class B < A; end # :nodoc:
will now hide documentation of B. Issue #125 by Zachary Scott
* Fixed tokenization of % when it is not followed by a $-string type
* Fixed display of __END__ in documentation examples in HTML output
* Fixed tokenization of reserved words used as new-style hash keys
* RDoc now handles class << $gvar by ignoring the body
* Fixed parsing of class A:: B.
* Worked around bug in RDoc::RubyLex where tokens won't be reinterpreted
after unget_tk.
* Fixed class << ::Foo writing documentation to /Foo.html
* Fixed class ::A referencing itself from inside its own namespace.