[#388484] ruby-doc.org has been updated — James Britt <james.britt@...>

Ruby-doc.org has been updated.

22 messages 2011/10/03

[#388492] Operator Overloading — Thescholar Thescholar <thescholar@...>

Let's suppose I have a class like this one and then I create two

28 messages 2011/10/04
[#388515] Re: Operator Overloading — "Darryl L. Pierce" <mcpierce@...> 2011/10/04

On 10/04/2011 01:11 AM, Thescholar Thescholar wrote:

[#388518] Re: Operator Overloading — Brian Candler <b.candler@...> 2011/10/04

Darryl Pierce wrote in post #1024950:

[#388519] Re: Operator Overloading — "Darryl L. Pierce" <mcpierce@...> 2011/10/04

On 10/04/2011 10:03 AM, Brian Candler wrote:

[#388520] Re: Operator Overloading — Adam Prescott <adam@...> 2011/10/04

On Tue, Oct 4, 2011 at 3:53 PM, Darryl L. Pierce <mcpierce@gmail.com> wrote:

[#388523] Local vs method vs instance (was: Operator Overloading) — "Darryl L. Pierce" <mcpierce@...> 2011/10/04

On 10/04/2011 11:11 AM, Adam Prescott wrote:

[#388526] Re: Local vs method vs instance (was: Operator Overloading) — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2011/10/04

On Tue, Oct 4, 2011 at 5:31 PM, Darryl L. Pierce <mcpierce@gmail.com> wrote:

[#388558] question about method — "Joseph S." <musician_joe777@...>

AC = 14

12 messages 2011/10/04

[#388595] Read thru Csv file and store it in variables — ideal one <idealone5@...>

HI All,

9 messages 2011/10/05

[#388601] How to output an instance's type — Viaduct Productions <lists@...>

Hiya folks.

21 messages 2011/10/05
[#388603] Re: How to output an instance's type — Kassym Dorsel <k.dorsel@...> 2011/10/05

By type you want the variables class ?

[#388610] Re: How to output an instance's type — Viaduct Productions <lists@...> 2011/10/05

Hi Kassym. Thanks for the post.

[#388612] Re: How to output an instance's type — Kassym Dorsel <k.dorsel@...> 2011/10/05

Viaduct Productions wrote in post #1025201:

[#388636] Re: How to output an instance's type — luke gruber <luke.gru@...> 2011/10/06

>How do I output the type of a variable?

[#388644] Re: How to output an instance's type — Viaduct Productions <lists@...> 2011/10/06

Hi Luke. Thanks for the reply.

[#388658] Re: How to output an instance's type — Phillip Gawlowski <cmdjackryan@...> 2011/10/06

A: Because it messes with the readability of the reply, since the

[#388650] Cheapest way to host low-traffic small-footprint Rails app? — Intransition <transfire@...>

I have a commercial Radiant-based website that I manage for a small-

18 messages 2011/10/06
[#388653] Re: Cheapest way to host low-traffic small-footprint Rails app? — Phillip Gawlowski <cmdjackryan@...> 2011/10/06

On Thu, Oct 6, 2011 at 2:47 PM, Intransition <transfire@gmail.com> wrote:

[#388660] Re: Cheapest way to host low-traffic small-footprint Rails app? — Dan Nachbar <dan@...> 2011/10/06

On Oct 6, 2011, at 8:53 AM, Phillip Gawlowski wrote:

[#388662] Re: Cheapest way to host low-traffic small-footprint Rails app? — Viaduct Productions <lists@...> 2011/10/06

What do people consider "cheap"? You want scalability? Support?

[#388666] Re: Cheapest way to host low-traffic small-footprint Rails app? — Dan Nachbar <dan@...> 2011/10/06

On Oct 6, 2011, at 9:58 AM, Viaduct Productions wrote:

[#388812] require -- looking in rubygems, now "." — "charles a." <charles.agriesti@...>

irb

11 messages 2011/10/09

[#388855] why does `a + f b` not parse? — Martin DeMello <martindemello@...>

ruby-1.9.2-p0 > 2 + sqrt 5

18 messages 2011/10/11
[#388857] Re: why does `a + f b` not parse? — Wayne Brissette <waynefb@...> 2011/10/11

[#388858] Re: why does `a + f b` not parse? — Dave Aronson <rubytalk2dave@...> 2011/10/11

On Tue, Oct 11, 2011 at 06:32, Wayne Brissette <waynefb@earthlink.net> wrote:

[#388861] Re: why does `a + f b` not parse? — Phillip Gawlowski <cmdjackryan@...> 2011/10/11

On Tue, Oct 11, 2011 at 1:02 PM, Dave Aronson

[#388862] Re: why does `a + f b` not parse? — jake kaiden <jakekaiden@...> 2011/10/11

Phillip Gawlowski wrote in post #1026042:

[#388864] Re: why does `a + f b` not parse? — Bartosz Dziewoński <matma.rex@...> 2011/10/11

Yes, I think we all know that; the question is, why does 2 + sqrt(5)

[#388881] gem directory not find — Sam Porwal <pawan.porwal@...>

Hi All,

11 messages 2011/10/11

[#388945] What’s the best way of checking if an argument has been given or not? — Nikolai Weibull <now@...>

Hi!

19 messages 2011/10/14
[#388950] Re: What’s the best way of checking if an argument has been given or not? — jake kaiden <jakekaiden@...> 2011/10/14

...probably not the *best* way, but this works:

[#388952] Re: What’s the best way of checking if an argument has been given or not? — Bartosz Dziewoński <matma.rex@...> 2011/10/14

You can use this syntax, too. "args" becomes an array of all arguments given.

[#388954] Re: What’s the best way of checking if an argument has been given or not? — Nikolai Weibull <now@...> 2011/10/14

On Fri, Oct 14, 2011 at 15:29, Bartosz Dziewoński <matma.rex@gmail.com> wrote:

[#388958] Re: What’s the best way of checking if an argument has been given or not? — Chris Hulan <chris.hulan@...> 2011/10/14

You could do it as a wrapper:

[#388961] Re: What’s the best way of checking if an argument has been given or not? — Nikolai Weibull <now@...> 2011/10/14

On Fri, Oct 14, 2011 at 15:51, Chris Hulan <chris.hulan@gmail.com> wrote:

[#388962] Re: What’s the best way of checking if an argument has been given or not? — Chris Hulan <chris.hulan@...> 2011/10/14

You said you didn't want to manually do it, this lets the interpreter

[#388970] Re: What’s the best way of checking if an argument has been given or not? — luke gruber <luke.gru@...> 2011/10/14

Hmm, if you really don't want to use the splat *args, you could create a

[#388972] Re: What’s the best way of checking if an argument has been given or not? — Jens Wille <jens.wille@...> 2011/10/14

luke gruber [2011-10-14 17:15]:

[#388947] Beginning — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>

Hello,

19 messages 2011/10/14

[#389025] writing a poem backwards or in reverse order — Teresa Nguyen <s-unguyen2@...>

i would like to write a poem using nano and through ruby I would like to

18 messages 2011/10/16
[#389036] Re: writing a poem backwards or in reverse order — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2011/10/16

On Sun, Oct 16, 2011 at 2:04 AM, Teresa Nguyen

[#389026] 'gem install' help please — Kaye Ng <sbstn26@...>

Hi.

18 messages 2011/10/16

[#389037] Ruby and threading — Carter Cheng <cartercheng@...>

Hello,

32 messages 2011/10/16
[#389038] Re: Ruby and threading — Josh Cheek <josh.cheek@...> 2011/10/16

On Sun, Oct 16, 2011 at 3:50 AM, Carter Cheng <cartercheng@gmail.com> wrote:

[#389195] Re: Ruby and threading — Josh Cheek <josh.cheek@...> 2011/10/19

On Sun, Oct 16, 2011 at 4:03 AM, Josh Cheek <josh.cheek@gmail.com> wrote:

[#389100] IDE — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>

Hello,

13 messages 2011/10/17

[#389340] security thesis advice — Jorge Bo <jorgebo10@...>

Hi,

19 messages 2011/10/22

[#389465] Modify only a .rb file, but not other .rb files, while still extending core classes? — Marc Heiler <shevegen@...>

Given is a small .rb file.

8 messages 2011/10/26

[#389553] "A" and "an" articles in front of words — Faith Tarcha <faith@...>

Hello guys, I have two objects that consist of arrays and I am suppose

29 messages 2011/10/29
[#389587] Re: "A" and "an" articles in front of words — jake kaiden <jakekaiden@...> 2011/10/31

hi Faith,

[#389598] Re: "A" and "an" articles in front of words — Dave Aronson <rubytalk2dave@...> 2011/10/31

On Sun, Oct 30, 2011 at 22:23, jake kaiden <jakekaiden@yahoo.com> wrote:

[#389789] Re: "A" and "an" articles in front of words — steve ross <cwdinfo@...> 2011/11/06

Sorry to be late to the party on this one, but a regex seems a bit of a big hammer. How about:

[#389791] Re: "A" and "an" articles in front of words — Hassan Schroeder <hassan.schroeder@...> 2011/11/06

On Sun, Nov 6, 2011 at 12:59 PM, steve ross <cwdinfo@gmail.com> wrote:

[#389795] Re: "A" and "an" articles in front of words — Peter Camilleri <pdc.cse@...> 2011/11/06

Indeed. My understanding is that the usage of a/an depends on the

[#389859] Re: "A" and "an" articles in front of words — Gonçalo C. Justino <goncalo.justino@...> 2011/11/08

> Indeed. My understanding is that the usage of a/an depends on the

[#389590] Vim Ruby Config — "Junayeed Ahnaf Nirjhor" <zombiegenerator@...>

Hello,

13 messages 2011/10/31

[ANN] rdoc 3.10 Released

From: Eric Hodel <drbrain@...7.net>
Date: 2011-10-08 23:19:05 UTC
List: ruby-talk #388795
* https://github.com/rdoc/rdoc
* http://rdoc.rubyforg.org

RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
includes the +rdoc+ and +ri+ tools for generating and displaying online
documentation.

See RDoc for a description of RDoc's markup and basic use.

Changes:

=== 3.10 / 2011-10-08

* Major enhancements
  * RDoc HTML output has been improved:
    * The search from Володя Колесников's (Vladimir Kolesnikov) Sdoc has been
      integrated.

      The search index generation is a reusable component through
      RDoc::Generator::JsonIndex
    * The table of contents is now a separate page and now shows links to
      headings and sections inside a page or class.
    * Class pages no longer show the namespace and no longer have file info
      pages.
    * HTML output is HTML 5.
    * Static files can be copied into RDoc using --copy-files
  * RDoc supports additional documentation formats:
    * TomDoc 1.0.0-rc1
    * RD format

    The default markup can be set via the <tt>--markup</tt> option.

    The format of documentation in a particular file can be specified by the
    +:markup:+ directive.  If the +:markup:+ directive is in the first comment
    it is used as the default for the entire file.  For other comments it
    overrides the default markup format.

    The markup format can be set for rake tasks using RDoc::Task#markup
  * RDoc can save and load an options file.

    To create an options file that defaults to using TomDoc markup run:

      rdoc --markup tomdoc --write-options

    This will create a .rdoc_options file.  Check it in to your VCS and
    package it with your gem.  RDoc will automatically load this file and
    combine it with the user's options.

    Some options are not saved.  See RDoc::Options@Saved+Options for full
    details.

* Minor enhancements
  * RDoc autoloads everything.  You only need to require 'rdoc' now.
  * HTML headings now have ids matching their titles.

      = Hello!

    Is rendered as

      <h1 id="label-Hello%21">Hello!</h1>

  * Labels for classes or methods can be linked-to by adding an <tt>@</tt>
    following the class or method reference.  For example,
    <tt>RDoc::Markup@Links</tt>

    See RDoc::Markup@Links for further details.
  * For HTML output RDoc uses +SomeClass.method_name+ and
    +SomeClass#method_name+ for remote methods and attributes and
    +::method_name+ and +#method_name+ for local methods.
  * RDoc makes an effort to syntax-highlight ruby code in verbatim sections.
    See RDoc::Markup@Paragraphs+and+Verbatim
  * Added RDoc::TopLevel#text? and RDoc::Parser::Text to indicate a
    parsed file contains no ruby constructs.
  * Added <tt>rdoc-label</tt> link scheme which allows bidirectional links.
    See RDoc::Markup for details.
  * Image paths at HTTPS URLs will now be turned into +<img>+ tags.  Pull
    Request #60 by James Mead
  * Added RDoc::Comment which encapsulates comment-handling functionality.
  * Added RDoc::Markup::PreProcess::post_process to allow arbitrary comment
    munging.
  * RDoc::RDoc::current is set for the entire RDoc run.
  * Split rdoc/markup/inline into individual files for its component classes.
  * Moved token stream HTML markup out of RDoc::AnyMethod#markup_code into
    RDoc::TokenStream::to_html
  * "Top" link in section headers is no longer inside the heading element.
  * RDoc avoids printing some warnings unless run with `rdoc --verbose`.  For
    Rails issue #1646.
  * Finishing a paragraph with two or more spaces will result in a line break.
    This feature is experimental and may be modified or removed.

* Bug fixes
  * Markup defined by RDoc::Markup#add_special inside a <tt><tt></tt> is no
    longer converted.
  * Performance of RDoc::RubyLex has been improved.  Ruby Bug #5202 by Ryan
    Melton.
  * Add US-ASCII magic comments to work with <tt>ruby -Ku</tt>.  Issue #63 by
    Travis D. Warlick, Jr.
  * Clicking a link in the method description now works.  Issue #61 by Alan
    Hogan.
  * Fixed RDoc::Markup::Parser for CRLF line endings.  Issue #67 by Marvin
    Gülker.
  * Fixed lexing of percent strings like %r{#}.  Issue #68 by eclectic923.
  * The C parser now understands classes defined with
    +rb_struct_define_without_accessor+ (like Range).  Pull Request #73 by Dan
    Bernier
  * Fixed lexing of <code>a b <<-HEREDOC</code>.  Issue #75 by John Mair.
  * Added LEGAL.rdoc with references to licenses in other files.  Issue #78 by
    Dmitry Jemerov.
  * Block parameters are displayed in Darkfish output again.  Issue #76 by
    Andrea Singh.
  * The method parameter coverage report no longer includes parameter default
    values.  Issue #77 by Jake Goulding.
  * The module for an include is not looked up until parsed all the files are
    parsed.  Unless your project includes nonexistent modules this avoids
    worst-case behavior (<tt>O(n!)</tt>) of RDoc::Include#module.


In This Thread

Prev Next