383667-384297 subjects 384082-384786

^ Read symbols from external file
383865 [mbmulder onl] =begin
+ 383909 [bbxx789_05ss] You can only read in strings from a file, and you can only write out
+ 383911 [josh.cheek g] # I think parsing the file is the wrong approach.

^ What is the meaning of #<Net::HTTPFound:0x29b78f8>
383867 [amit.srpce g] I am trying to deal with the http response. I am using following code to
+ 383905 [bbxx789_05ss] xxx        HTTPResponse
+ 383931 [timr probo.c] Did you read any of the documentation?  Net::HTTP.get_response returns a

^ How to deal with HTTP responce
383869 [amit.srpce g] I am trying to deal with the HTTP response. I want to retrieve the

^ How to retrieve the HTTP response contents like header, posts, HTML, etc.?
383870 [amit.srpce g] I am trying to deal with the HTTP response. I want to retrieve the
383904 [bbxx789_05ss] resp.each_header do |name, value|

^ Ruby Version 1.8.7 on Ubuntu
383872 [mbmulder onl] I installed ruby from Ubuntu a week ago but it seems that I have version
383874 [cmdjackryan ] In case this gets lost in the plethora of links for this issue (and

^ Startup & Shutdown
383875 [rajesh.huria] require 'test/unit'
+ 383876 [rajesh.huria] gem version: test-unit (2.3.0)
+ 383877 [kou cozmixng] In <909e8c1a8f620d6156f4ecb422e0d3e1@ruby-forum.com>
+ 383881 [rajesh.huria] thanks a lot buddy.. its working now. i would like to know why its not
  383917 [kou cozmixng] In <f46aa709368854dc61a8c22dadc5c901@ruby-forum.com>

^ Re: eruby binaries for mswin32
383884 [gamh03122002] Thanks a lot, i was searching a binary for eruby, and i was sure to have

^ How to use an ActiveRecord plugin in a non-Rails project
383888 [josh.cheek g] I'm using ActiveRecord on a Sinatra app. I need one of my tables to be

^ [ANN] Rails 3.0.8.rc2
383889 [aaron tender] Hey folks!  I've pushed 3.0.8.rc2.

^ porting Ruby to an embedded target
383890 [donald.s.wil] Greetings, Rubyists -
383893 [brabuhr gmai] E SoC (as used in GoogleTV and Boxee Box), and I would appreciate some know=
+ 383896 [donald.s.wil] brabuhr@gmail.com
| 383908 [brabuhr gmai] Is there a space?  It looks like there was no space in the actual
+ 383964 [donald.s.wil] brabuhr@gmail.com

^ [ANN] Lone Star Ruby Conference V - Call for Speakers
383891 [jimfreeze gm] Lone Star Ruby Conference V

^ Hash .each and different action for each key
383897 [storm8000 gm] I have a hash table of several items.
+ 383898 [b.candler po] Then show your code. "if" and "case" will be able to do this just fine.
| 383901 ["Leigh Danie] def one(x)
| 383903 [bbxx789_05ss] That is a horribly inefficient construct: three if tests must be
+ 383900 [spoon killer] funcs = {}
+ 383902 [storm8000 gm] Thank you for the response.
+ 383921 [anurag08priy] actions = {
  383924 [spoon killer] That's what I proposed but it's a bit daft no?  I mean, you're

^ Variable scopes with code blocks.
383906 [aaronsallrig] Novice here. I'm reading Beginning Ruby and Beginning Rails by Apres and
383907 [bbxx789_05ss] arr = []

^ Variable scopes with code blocks.
383910 [kmandpjlynch] Novice here. I'm reading Beginning Ruby and Beginning Rails by Apres and
+ 383912 [kmandpjlynch] Good afternoon,
+ 383914 [cmdjackryan ] What you can do is declaring the variable before the block, and access
+ 383916 [justincollin] In light of your ultimate goal, consider using
  383947 [shortcutter ] Or rather File.foreach.  File.readlines should only be used if you

^ Better RAML
383915 [transfire gm] Looking for code sharks to help me make this little gist more concise,

^ Problem in using %:whatever in enumumerations
383919 [RichardDummy] I'm on  a Ruby self-improvement mission.  Presently I working my way
383920 [vderyagin gm] &:length
383926 [RichardDummy] Thanks for your response.
383929 [cmdicely gma] =C2=A0 =C2=A0 =C2=A0# =C2=A0(correct) =C2=A0=3D> false
383930 [RichardDummy] Philosophically, that's just the kind of thing I wanted (dynamic

^ Problem getting rdoc documenting all top level module/classes in a file
383922 [markus fisch] I'm struggling to understand how rdoc expects my source to be organized
383960 [markus fisch] After some more tests and I short IRC session it looked to me as that

^ Unexpected behavior when referencing nested classes
383923 [johnf bitsbu] It was my understanding that consts are first searched for in their
+ 383925 [josh.cheek g] I have some vague hypotheses about why it does this, but don't have any idea
+ 383927 [anurag08priy] Yeah. Ruby first tries to find the constant in the "lexical scope" of

^ Encoding Problem (I think)
383938 [transfire gm] I've been trying to figure out why gash won't work under Ruby 1.9. I
+ 383939 [thiagoalessi] I aways have encoding problems doing screen scrapping, and I'm interested in better solutions, but sometimes iconv helps me.
+ 383940 [matz ruby-la] I don't call it an "encoding error", but I admit it is

^ We want to start translating ruby-dev, so please let us know where to start
383944 [yutaka.hara ] I launched a website for community-based translation of ruby-dev,
+ 383945 [peterhickman] Not wanting to be picky here but given that we can not read Japanese
| 383951 [aaron tender] Email subjects and some technical terms are typically English.  You should
+ 383956 [normalperson] Is there any method for non-Twitter users?  I don't like reliance

^ Measuring memory using ruby-prof - help required
383946 [jitesh.jain ] I have a requirement wherein, I need to calculate memory utilized during

^ [ANN] Ruber 0.0.9 released
383948 [stefano.croc] Ruber 0.0.9 has been released today

^ Re: canonical/syntax-diagrams representation.
383949 [no.top.post ] I taken time to absorb the feedback, from this lively thread

^ [ANN] Rails 3.0.8.rc3 (third time is the charm!)
383952 [aaron tender] Hey everybody!  I've pushed Rails 3.0.8.rc3.

^ Problem using 1.8.6 5WinAPI references in 1.9.2
383953 [RichardDummy] time. I posted the 84-line program at http://www.pastie.org/1994636.
383969 [RichardDummy] On May 30, 4:05=A0pm, RichardOnRails

^ RubyConf 2011 talk proposals being accepted
383954 [dblack rubyp] Talk proposals for RubyConf 2011 are being accepted through June 15. The

^ Nokogiri : Modifying Nodes and Attributes
383957 [unbewusst.se] <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ 383958 [unbewusst.se] metas=doc.xpath("/html/head/meta")
+ 383965 [mike.dalessi] 2011/5/31 Une B=E9vue <unbewusst.sein@fai.invalid>
  383968 [unbewusst.se] No, I'll look at...

^ CORE - Specialized Attribute Definition
383961 [ilias lazari] ruby 1.9
+ 383963 [josh.cheek g] Almost certain this can't be done. You could do something somewhat close to
| 383996 [ilias lazari] ok
| 383998 [josh.cheek g] 2011/6/1 Ilias Lazaridis <ilias@lazaridis.com>
| 384002 [ilias lazari] On 1 =CE=99=CE=BF=CF=8D=CE=BD, 11:28, Josh Cheek <josh.ch...@gmail.com> wro=
| 384016 [josh.cheek g] el
| 384100 [ilias lazari] On 1 =CE=99=CE=BF=CF=8D=CE=BD, 18:38, Josh Cheek <josh.ch...@gmail.com> wro=
| 384102 [josh.cheek g] nk
| 384103 [ilias lazari] On 4 =CE=99=CE=BF=CF=8D=CE=BD, 14:04, Josh Cheek <josh.ch...@gmail.com> wro=
| 384108 [whitequark w] No it couldn't. The feature you want requires altering of the Ruby
| 384142 [ilias lazari] On 4 =CE=99=CE=BF=CF=8D=CE=BD, 16:41, Peter Zotov <whitequ...@whitequark.or=
+ 383970 [u.alberton g] Just out of curiosity, what exactly do you need the syntax above to
+ 383971 [ryand-ruby z] I know this is a futile gesture, BUT...

^ multiple classes question
383966 [nostef gmail] I need to create a class "Getter" that exposes a method "retrieve"
383967 [steve stevek] Googling around for 'ruby strategy pattern' turns up some interesting

^ Problems using gem command
383972 [ruby.student] Couple hours ago I updated to a new version of gems, by using *gem update
383977 [ryand-ruby z] While I'm on the rubygems team... this isn't the place for this type of =

^ Error while installing GEM WMQ
383973 [ruby.student] I am trying to install Ruby WMQ on RHEL6 and SLES11, and it is failing on
+ 383974 [me kmwhite.n] Do you have the ruby development libraries installed? In Debian like =
| 383975 [ruby.student] Kristofer,
| + 383976 [me kmwhite.n] rpm -qa | grep ruby
| | 383978 [brabuhr gmai] In this case, that likely won't help because he is not using Red Hat's
| | 383980 [g.diemant gm] I'm not sure, but I think the problem is the removal of '.' from the
| + 384009 [ruby.student] First, my thanks to everyone for your help.
|   384014 [brabuhr gmai] So far, you just used extconf to create the Makefile for building the C code.
+ 383979 [brabuhr gmai] The first problem is an incompatibility between this gem's code and

^ What editor or IDE do you use?
383981 [skrabbit com] I'm pretty new to Ruby. What editor or IDE do you use? I usually use VIM
+ 383982 [developer wi] Vim all the way. For me, fits the Ruby mantra of keeping things simple but flexible.
| + 383983 [markus fisch] Vim too here. There's only one real downside here (for me, anyway): I'm
| | 383987 [marco-oweber] get matchit.zip !
| | + 383988 [javadba gmai] opinions on redcar?
| | | + 383989 [marco-oweber] Are you asking me ? No - never used it.
| | | | 383990 [eric sempere] Been sticking to Netbeans for a few years now.  Pretty happy.
| | | + 383999 [sutniuq gmx.] I'm using Redcar and I love it. It doesn't stand in your way while
| | | | 384006 [flebber.crue] It's emacs you can change everything. The easy way just install themes
| | | + 384000 [richard.conr] I like it. It is also one of the few editors that is fast and totally cross
| | + 384704 [markus fisch] OMG! Developing finally becomes real fun again. Thank you so much! It
| + 383985 [donald.s.wil] LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IERhdmlkIEphY29icyBbbWFpbHRvOmRl
+ 383986 [code apotheo] =20
+ 383992 [stu rubyprog] I'm also a vi user.
+ 383994 [groups inbox] Emacs, as always. These days I also toss RubyMine into the mix for its
| + 383995 [chris chrisk] I do everything in the terminal - usually a Screen session with windows for
| + 384008 [robert.dober] for
+ 384007 [uwe kubosch.] Emacs and RubyMine, with some Eclipse and Aptana for multi-project setups.
| 384011 [kmandpjlynch] ...if you're using a Mac, you might consider TextMate...it directly
+ 384017 [groups inbox] I'm curious, anyone using Sublime Text? http://www.sublimetext.com/
+ 384018 [code apotheo] (In the following, I will use "vi" to refer to vi-like editors in
| 384021 [stu rubyprog] New POLL!!!
| 384022 [donald.s.wil] Jeez... BSD or Linux... or Doze?=20
| 384023 [code apotheo] =2E . . although, the editor question *does* have some relevance for people
| 384026 [stu rubyprog] You made your point succinctly and eloquently Chad.
| 384027 [fxn hashref.] Let me add to this thread that the editors of dedicated IDEs are
| 384030 [code apotheo] I think that the idea of equating tight coupling with superiority is
| 384033 [donald.s.wil] ith=20
| 384039 [code apotheo] I wish I could help, but that's beyond my areas of expertise.
| + 384043 [fxn hashref.] Well, the argument "since Ruby is not as heavyweight as Java or C++,
| | + 384053 [donald.s.wil] LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IFhhdmllciBOb3JpYSBbbWFpbHRvOmZ4
| | + 384055 [code apotheo] =2E . . for a while.  Just as I thought Dreamweaver, then Homesite, was
| |   384060 [fxn hashref.] Chad I never said you don't know what you are talking about. I think you do k=
| |   384063 [stu rubyprog] Curious does RubyMine have a vi mode?
| |   384065 [fxn hashref.] There's this plugin
| |   384079 [redjohn367 g] IdeaVIM is great. I use PyCharm daily at work, and RubyMine and
| |   384090 [martindemell] Not used IntelliJ, but Netbeans's jvi plugin is superb.
| + 384054 [donald.s.wil] One of the things I've been watching more and more as systems and web progr=
+ 384074 [ml convalesc] On 01 =CE=99=CE=BF=CF=85=CE=BD 2011, at 1:33 =CF=80.=CE=BC., Mike Hansen =
  384088 [code apotheo] mate's behavior.
  384093 [steve stevek] ...
  384096 [darkintent g] I think it depends on what you are going to be doing with Ruby.  For rails I

^ [ANN] rubygems-update 1.8.5 Released
383984 [evan.mw.phoe] rubygems-update version 1.8.5 has been released!
384123 [LeCouey sfcn] Evan,

^ [ANN] minitest 2.2.0 Released
383991 [ryand-ruby z] minitest version 2.2.0 has been released!

^ [ANN] minitest 2.2.1 Released
383993 [ryand-ruby z] minitest version 2.2.1 has been released!

^ CORE - Alternative Variable Substitution
383997 [ilias lazari] ruby 1.9
+ 384001 [peterhickman] Ilias what are you doing? Are you trying to feed the source of another
| 384010 [ilias lazari] On 1 =C9=EF=FD=ED, 12:12, Peter Hickman <peterhickman...@googlemail.com>
| + 384012 [shortcutter ] You don't need a library for that.  It can be as easy as
| | 384038 [ilias lazari] I do nearly always look first for a existent (used, field tested)
| | 384041 [whitequark w] There is no separate method in Ruby which does the variable
| | + 384042 [code apotheo] I wonder how much that changes in the Rubinius implementation.
| | | 384044 [whitequark w] Yes, I thought about Rubinius too. It nevertheless uses lexer and
| | | 384045 [flo andersgr] I don't think so. Literals are never "constructed", so there is no step
| | + 384047 [ilias lazari] On 2 =CE=99=CE=BF=CF=8D=CE=BD, 10:02, Peter Zotov <whitequ...@whitequark.or=
| |   + 384048 [peterhickman] An alternative would be a preprocessor, such as C uses to handle the
| |   + 384049 [whitequark w] Definitely no (for MRI, at least). Basically, C extensions can provide
| |     384050 [ilias lazari] On 2 =CE=99=CE=BF=CF=8D=CE=BD, 14:29, Peter Zotov <whitequ...@whitequark.or=
| + 384013 [peterhickman] How about you actually say what you want. The one line example tells
|   + 384019 [code apotheo] To be fair, I think the answer to these might be "however the existing
|   + 384037 [ilias lazari] On 1 =C9=EF=FD=ED, 16:23, Peter Hickman <peterhickman...@googlemail.com>
+ 384015 [cmdicely gma] I don't know of anything that that modifies the behavior of String
| 384036 [ilias lazari] On 1 =CE=99=CE=BF=CF=8D=CE=BD, 18:07, Christopher Dicely <cmdic...@gmail.co=
| 384040 [whitequark w] @name is not a local variable, but an instance variable.
| 384046 [ilias lazari] On 2 =CE=99=CE=BF=CF=8D=CE=BD, 10:01, Peter Zotov <whitequ...@whitequark.or=
+ 384438 [ilias lazari] class VarTester

^ instance variable in pseudo-global scope
384020 [code apotheo] * Variables whose names have no leading sigil have local scope.
+ 384024 [sean.ohalpin] @foo =3D 1
| + 384031 [code apotheo] =2E . .
| + 384032 [josh.cheek g] You will get 10 and 1 as output, not 10 and 2.
|   384034 [sean.ohalpin] Thanks for pointing out that silly mistake. But the point remains the same.
+ 384025 [ryand-ruby z] but

^ [ANN] bones 3.7.0
384028 [tim.pease gm] bones version 3.7.0
384035 [lcdpublic co] I saw your announcement on the R-T ML and am pleased to learn about
384056 [tim.pease gm] You're welcome!

^ [ANN] minitest 2.2.2 Released
384029 [ryand-ruby z] minitest version 2.2.2 has been released!
+ 384058 [matthias wae] Ryan,
| 384068 [ryand-ruby z] link contains completely outdated information about it. Do you ever look =
| 384080 [matthias wae] Thanks for the clarification, makes sense. In this case Id suggest to update the README to indicate github as the primary home page, cause it has all
+ 384067 [markus fisch] The news sound promising, but is it the wrong link? The most recent
  384962 [ryand-ruby z] Btw,
  384967 [markus fisch] That's really great! Whenever I came to rubyforge I literally felt lost

^ CORE - Replace "if __FILE__ == $0"  with "executed?"
384051 [ilias lazari] The construct to detect execution of the file (in order to launch main
+ 384052 [whitequark w] It failed because __FILE__ is not a constant: it is a special lexical
| 384057 [code apotheo] module Kernel
| 384059 [jgabrielygal] He wants to have the definition of the executed? method in a different
| 384061 [code apotheo] Ah, yeah, I apparently overlooked that.  Please excuse my noise.
| 384062 [jgabrielygal] Not really, I just defined the default value just in case, but it's true
| 384064 [jgabrielygal] Sorry for the top post and the bad quote, I was using my phone there.
+ 384066 [wishdev gmai] Good Morning,
+ 384083 [ilias lazari] On 2 =CE=99=CE=BF=CF=8D=CE=BD, 16:30, Ilias Lazaridis <il...@lazaridis.com>=
| 384084 [cremes.devli] if __FILE__ == $0
| 384087 [ilias lazari] atch
+ 384276 [ilias lazari] Provide method Kernel#executed?

^ ANN: PDFTron PDF Library for Ruby, Python, PHP
384069 [support pdft] PDFTron PDFNet SDK v.5.7. - A Ruby Extension module for all types of
384070 [ryand-ruby z] $900 per cpu???

^ [ANN] Ruby Midwest Conference: CFP open
384071 [lpillow gmai] Announcing Ruby Midwest 2011!

^ Behaviour of different Proc types
384072 [josh.cheek g] I realized that I just can't ever remember the different proc types
+ 384075 [anurag08priy] On a slightly related note:  http://innig.net/software/ruby/closures-in-ruby.rb
| 384076 [stu rubyprog] I colorized Paul Cantrell's exhaustive document =3D)
+ 384078 [whitequark w] I should note that proc behavior differs not across implementations,
+ 384170 [johannes.hel] ...
+ 384175 [josh.cheek g] I've added the note that -> is a synonym for lambda in 1.9.

^ URI.parse hex encoded URI
384077 [karsten.burg] charset="us-ascii"
384081 [markus fisch] I'm no export on URI but I've been using it in a few projects lately