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
hsbt_away is now known as hsbt
tax has joined #ruby-core
Aethenelle has quit [Ping timeout: 276 seconds]
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Changing host]
rafaelfranca 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
Aethenelle 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
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
rafaelfranca has quit [Ping timeout: 260 seconds]
hsbt is now known as hsbt_away
rafaelfranca has joined #ruby-core
hsbt_away is now known as hsbt
febuiles has joined #ruby-core
febuiles has quit [Changing host]
febuiles has joined #ruby-core
sorah__ has quit [Ping timeout: 260 seconds]
sorah__ has joined #ruby-core
febuiles_ has joined #ruby-core
febuiles has quit [Read error: Connection reset by peer]
febuiles_ has quit [Client Quit]
tax has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-core
ajax0xd9 has joined #ruby-core
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ajax0xd9 has quit [Ping timeout: 260 seconds]
ajax0xd9 has joined #ruby-core
hsbt is now known as hsbt_away
charliesome has joined #ruby-core
charliesome has quit [Client Quit]
charliesome has joined #ruby-core
charliesome has quit [Read error: Connection reset by peer]
hsbt_away is now known as hsbt
hsbt is now known as hsbt_away
hsbt_away is now known as hsbt
Aethenelle has quit [Ping timeout: 240 seconds]
Aethenelle_ has joined #ruby-core
<znz_jp> biff: [ruby-changes:42909] nobu:r54983 (trunk): extmk.rb: failed messages at the end - http://mla.n-z.jp/?ruby-changes=42909
<zzak> [andromedian, irc.freenode.net] I have a hash = {foo: '1', bar: '2'} how can I print the key foo: ?
<zzak> [Adædra, irc.freenode.net] hash[:foo]
<zzak> [andromedian, irc.freenode.net] it prints the value =>1 I want => 'foo'
<zzak> [andromedian, irc.freenode.net] is this possible adaedra?
<zzak> [Adædra, irc.freenode.net] I'm not sure to understand
<zzak> [Adædra, irc.freenode.net] you want to get :foo from 1?
<zzak> [apeiros, irc.freenode.net] or 'foo' from :foo?
<zzak> [andromedian, irc.freenode.net] yes 'foo' from :foo
<zzak> [apeiros, irc.freenode.net] puts :foo
<zzak> [apeiros, irc.freenode.net] or :foo.to_s
<zzak> [apeiros, irc.freenode.net] depending on what you actually want
<zzak> [apeiros, irc.freenode.net] I don't understand how that's related to your hash, though.
<zzak> [andromedian, irc.freenode.net] lets' say that I have image = {medium:'500px' } I want to print medium and 500px without using each
<zzak> [andromedian, irc.freenode.net] but it seems like this is not the best way to do it.
<zzak> [apeiros, irc.freenode.net] do you know that the key is :medium?
<zzak> [apeiros, irc.freenode.net] or do you only know that the hash consists of a single key/value pair?
<zzak> [andromedian, irc.freenode.net] the second option
<zzak> [apeiros, irc.freenode.net] image.first will give you a [key, value] array
<zzak> [apeiros, irc.freenode.net] so: `key, value = image.first`
<zzak> [apeiros, irc.freenode.net] but if you have single key/value hashes I wonder why you use a hash at all.
<zzak> [alexander, irc.freenode.net] hello, I'd like to install gem onto sles 11 sp4, it comes with ruby 1.8.7.
<zzak> [apeiros, irc.freenode.net] even more so if you don't access them by key - which is the point of using a hash.
<zzak> [alexander, irc.freenode.net] how do I proceed?
<zzak> [apeiros, irc.freenode.net] uranellus: `gem install gem-to-install`
<zzak> [apeiros, irc.freenode.net] and let me advise you that ruby 1.8.7 is outdated, unmaintained and shouldn't be used anymore.
<zzak> [andromedian, irc.freenode.net] thanks apeiros
<zzak> [alexander, irc.freenode.net] apeiros: the gem command is not found :/
<zzak> [alexander, irc.freenode.net] apeiros: also I know that, but it is was suse supports for sles 11 sp4
<zzak> [apeiros, irc.freenode.net] oh, 1.8.7 didn't come with rubygems bundled, right. rvm did that for me.
<zzak> [apeiros, irc.freenode.net] then install rubygems first, either via your package manager or manually
yopp has quit [Ping timeout: 276 seconds]
<znz_jp> biff: [ruby-changes:42910] kazu:r54984 (trunk): fix a typo [ci skip] - http://mla.n-z.jp/?ruby-changes=42910
yopp has joined #ruby-core
yopp has quit [Ping timeout: 244 seconds]
yopp has joined #ruby-core
yopp has quit [Ping timeout: 244 seconds]
yopp has joined #ruby-core
enebo has joined #ruby-core
tax has joined #ruby-core
apofis has joined #ruby-core
apofis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has joined #ruby-core
ajax0xd9 has quit [Quit: Leaving]
<znz_jp> biff: [ruby-changes:42911] naruse:r54985 (trunk): * configurein: use alternative keyword - http://mla.n-z.jp/?ruby-changes=42911
<znz_jp> biff: [ruby-changes:42912] naruse:r54986 (trunk): Use HAVE_BUILTIN___BUILTIN_CONSTANT_P - http://mla.n-z.jp/?ruby-changes=42912
<znz_jp> biff: [ruby-changes:42913] svn:r54987 (trunk): * 2016-05-13 - http://mla.n-z.jp/?ruby-changes=42913
<znz_jp> biff: [ruby-changes:42914] naruse:r54988 (trunk): include/ruby/defines.h (GCC_VERSION_SINCE): moved from internal.h - http://mla.n-z.jp/?ruby-changes=42914
<znz_jp> biff: [ruby-changes:42915] naruse:r54989 (trunk): fix typo in r54988 - http://mla.n-z.jp/?ruby-changes=42915
nagachika has joined #ruby-core
apofis has joined #ruby-core
charliesome has joined #ruby-core
nagachika has quit [Remote host closed the connection]
rafaelfranca has quit [Read error: Connection reset by peer]
rafaelfranca has joined #ruby-core
rafaelfranca has joined #ruby-core
rafaelfranca has quit [Changing host]
rafaelfranca has quit [Remote host closed the connection]
apofis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
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
<znz_jp> biff: [ruby-changes:42917] nobu:r54991 (trunk): extmk.rb: failures format - http://mla.n-z.jp/?ruby-changes=42917
<znz_jp> biff: [ruby-changes:42916] nobu:r54990 (trunk): defines.h: avoid redefinition - http://mla.n-z.jp/?ruby-changes=42916
<znz_jp> biff: [ruby-changes:42918] nobu:r54992 (trunk): drop FreeBSD < 4 support - http://mla.n-z.jp/?ruby-changes=42918
hsbt_away is now known as hsbt