closer changed the topic of #ruby-core to: check the latest release candidate for 1.9.1 release ftp.ruby-lang.org:/home/yugui/ruby-1.9.1-r26021+1.tar.bz2
<znz_jp> biff: [ruby-changes:42938] nobu:r55012 (trunk): extmk.rb: fix skipping messages - http://mla.n-z.jp/?ruby-changes=42938
enebo has quit [Quit: enebo]
hsbt_away is now known as hsbt
enebo has joined #ruby-core
enebo has quit [Client Quit]
knu has quit [Ping timeout: 240 seconds]
knu has joined #ruby-core
<znz_jp> biff: [ruby-changes:42939] hsbt:r55013 (trunk): * lib/xmlrpc.rb, lib/xmlrpc/*, test/xmlrpc: XMLRPC is bundled gem - http://mla.n-z.jp/?ruby-changes=42939
<znz_jp> biff: [ruby-changes:42940] hsbt:r55014: * lib/xmlrpc: Removed empty directory. It could not be deleted by git-svn. - http://mla.n-z.jp/?ruby-changes=42940
hsbt is now known as hsbt_away
rafaelfranca has joined #ruby-core
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:42941] nobu:r55015 (trunk): configure.in: revert macro names - http://mla.n-z.jp/?ruby-changes=42941
<zzak> [brian, irc.freenode.net] if I do: c = Proc.new { |num| num * 2 }
<zzak> [brian, irc.freenode.net] shouldn't I have to use: &c to pass it?
<zzak> [brian, irc.freenode.net] for some reason I get an error
<zzak> [brian, irc.freenode.net] I'm using 2.0
<zzak> [brian, irc.freenode.net] I can just pass it normally using c
<zzak> [Joseph, irc.freenode.net] mynameisbrian, I believe & is only required when passing blocks?
<zzak> [brian, irc.freenode.net] I'm seeing tutorials saying to pass procs that way
shinnya has quit [Ping timeout: 276 seconds]
<zzak> [Joseph, irc.freenode.net] mynameisbrian http://www.tweetegy.com/2012/01/ruby-blocks-procs-and-lambdas/
<zzak> [brian, irc.freenode.net] Ropeney, if you're still there, thanks
<zzak> [brian, irc.freenode.net] that link explained everything.
<zzak> [Joseph, irc.freenode.net] np :D
<zzak> [brian, irc.freenode.net] passed it as first argument, and I see that the & is optional
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<zzak> [kirillow, irc.freenode.net] could someone please take a look at this https://gist.github.com/anonymous/cc7ffd05bf8dd59b96a03bc23b2462db
<zzak> [kirillow, irc.freenode.net] and explain to me why index.slim is able to access @posts but layout.slim can not access @config?
<zzak> [kirillow, irc.freenode.net] `NoMethodError: undefined method `[]' for nil:NilClass`
<zzak> [Shannon, irc.freenode.net] kirillow: An aside, but you're not closing those files. Consider `File.read` or the block form of `File.open` that's self-closing.
<zzak> [kirillow, irc.freenode.net] thanks i will take a look
<zzak> [Shannon, irc.freenode.net] kirillow: `YAML.load` is the usual way to write it in the actual coad.
<zzak> [Shannon, irc.freenode.net] code*
<zzak> [Beauby, irc.freenode.net] Hi there. When building a gem, is there a recommended way to add "optional methods" (i.e. methods that will get defined *only* if some constant is defined at runtime (say ActionController for instance))?
rafaelfranca has quit [Remote host closed the connection]
<zzak> [Shannon, irc.freenode.net] beauby: You can just use an if statement with a normal `def` method.
<zzak> [Shannon, irc.freenode.net] >> if defined? ActionController; def kapow; :oomph end end
<zzak> [Butler IRC Bot, Version 0.1.0, irc.freenode.net] havenwood: # => nil (https://eval.in/571978)
<znz_jp> biff: [ruby-changes:42942] nobu:r55016 (trunk): * test_handle.rb: refine test_fallback_to_ansi - http://mla.n-z.jp/?ruby-changes=42942
<zzak> [Beauby, irc.freenode.net] havenwood: Right, that's what I did. Thanks for the answer.
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<zzak> [kareeoleez, irc.freenode.net] Something like [*'aa'..'zz'] will generate all possible combinations from aa to zz. What If I want to add a number?
<zzak> [kareeoleez, irc.freenode.net] e.g. ab + 01 => a0, a1, b0, b1
<nokada> [*"a".."b"].product([*"0".."1"]).map(&:join)
<zzak> [Ryan Bigg, irc.freenode.net] Nice :) I always forget about product.
<zzak> [kareeoleez, irc.freenode.net] zzak: awesome
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
madgen has joined #ruby-core
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
<znz_jp> biff: [ruby-changes:42943] hsbt:r55017 (trunk): * gems/bundled_gems: Update xmlrpc-0.1.1. xmlrpc-0.1.0 didn't allow - http://mla.n-z.jp/?ruby-changes=42943
madgen has quit [Ping timeout: 250 seconds]
<znz_jp> biff: [ruby-changes:42944] svn:r55019 (trunk): * append newline at EOF. - http://mla.n-z.jp/?ruby-changes=42944
<znz_jp> biff: [ruby-changes:42945] duerst:r55018 (trunk): * include/ruby/oniguruma.h: Introducing ONIG_CASE_MAPPING compilation - http://mla.n-z.jp/?ruby-changes=42945
madgen has joined #ruby-core
<znz_jp> biff: [ruby-changes:42946] duerst:r55020 (trunk): * enc/unicode.h: Additional uses of ONIG_CASE_MAPPING compilation switch - http://mla.n-z.jp/?ruby-changes=42946
madgen has quit [Ping timeout: 265 seconds]
madgen has joined #ruby-core
nagachika has joined #ruby-core
Aethenelle has joined #ruby-core
tax has joined #ruby-core
enebo has joined #ruby-core
Guest53755 is now known as ndrst
madgen has quit [Ping timeout: 252 seconds]
madgen has joined #ruby-core
nagachika has quit [Remote host closed the connection]
nagachika has joined #ruby-core
nagachika has quit [Read error: Connection reset by peer]
nagachik_ has joined #ruby-core
nagachik_ has quit [Ping timeout: 276 seconds]
enebo_ has joined #ruby-core
enebo has quit [Ping timeout: 260 seconds]
enebo_ is now known as enebo
rafaelfranca has joined #ruby-core
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Changing host]
shinnya has joined #ruby-core
madgen has quit [Ping timeout: 240 seconds]
madgen has joined #ruby-core
shinnya has quit [Ping timeout: 265 seconds]
rafaelfranca has quit [Remote host closed the connection]
rafaelfranca has joined #ruby-core
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Ping timeout: 260 seconds]
madgen has quit [Ping timeout: 276 seconds]
madgen has joined #ruby-core
madgen has quit [Ping timeout: 260 seconds]
madgen has joined #ruby-core
enebo has quit [Quit: enebo]
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
madgen has quit [Quit: Lost terminal]