Public Gists by flogic

Gravatar
Sun Jun 14 07:18:41 -0700 2009
1
asdf
Gravatar
Thu Sep 11 07:59:40 -0700 2008
1
2
3
~/git$ irb
irb(main):001:0> def inner(&block)
irb(main):002:1> puts "inner got block" if block_given?
Gravatar
Wed Sep 10 20:11:58 -0700 2008
1
2
3
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
Gravatar
Thu Aug 28 09:37:36 -0700 2008
1
2
3
module ThinkingSphinxIndexMatcher
  class HaveIndex
    def initialize(expected)
Gravatar
Sun Aug 10 23:24:29 -0700 2008
1
2
3
@ Mon Aug 11 00:52:35 rick@Yer-Moms-Computer
~/git/ro-sham-bo/bots on master (*)$ cat yin.rb
class Yin
Gravatar
Sat Aug 02 13:16:07 -0700 2008
1
2
3
# user exemplar with confirmation fields
 
class User
Gravatar
Wed Jul 30 18:17:20 -0700 2008
1
2
3
  def bad_dog! bonus
    @multiplier += bonus
    yield 42