Skip to content

Commit

Permalink
add query2_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
seki committed Sep 4, 2011
1 parent 2f2f185 commit 411ca19
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions sample/demo4book/query2_test.rb
@@ -0,0 +1,18 @@
class Foo
# initialize foo
def initialize(name)
@foo = name
end

def foo; end
def baz; end
end

class Bar < Foo
# initialize bar and foo
def initialize(name)
super("bar #{name}")
end
def bar; end
end

0 comments on commit 411ca19

Please sign in to comment.