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:42940] hsbt:r55014: * lib/xmlrpc: Removed empty directory. It could not be deleted by git-svn. - http://mla.n-z.jp/?ruby-changes=42940
<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>
[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