#ruby-lang - Mon 19 Mar 2007 between 00:01 and 00:29

NY Lost Funds



wackimonkican i view my local version of rdoc in a browser?
alteregowackimonki, file:///where/your/rdoc/file/is.html
wackimonkialterego, they all seem to be in ja format
can i run a ruby doc server somehow? like gem_server for ruby on rails
alteregogem_server isn't for rails ..
It's for gems.
What do you mean 'ja' format?
wackimonkiin my C:\dev\InstantRails\ruby\doc\ruby\ruby-1.8.5 folder, they are a lot of files ending in .ja
no .html's
FlwydI understand why ++i and i++ don't do what they do in many other languages, but why does this do what it does:
i = 1; print ++i # prints 1
i = 1; print i++ # syntax error
Olathe+ is like -. It gives the number itself.
Flwydah
manveruthey are both methods
in this case an unary one
Flwydand --1 == 1
manveruyes
it's like you call 1.-.-
not that this would work
but, from the principle :)
ajturnerI'm using active_record gem for a project, but after about 2 mins, I'm getting "MySQL server has gone away"
Flwydor (- (- 1)) and (+ (+ 1)) in lisp
Olathe1.__send__ :-@
ajturneris there a way I can test & recooenct?
s/reconnect/
OlatheThat has Ruby stick its tongue out at 1.
manveruajturner: #rubyonrails :)
ajturnerthis isn't Rails
OlatheOne becomes very negative towards Ruby afterwards.
ajturnermanveru - it's a GServer that is storing data to a database using ActiveRecord (not Rails)
OlatheAnd so that's how -@ came to be the negative sign.
rellikif I have str = "Foo" how do I say 'obj = "#{str}Bar".new' ?
manverurellik: ?
Olatheklass = Kernel.const_get("#{str}Bar"); obj = klass.new unless security check thingy here
manveruoh
and the lobster goes to: Olathe!
OlatheYay :D
rellikOlathe, perfect, thanks
Olathe, what's the "security check" part?

Page: 2 9 16 23 30 37 44 

IrcArchive

NY Lost Funds