summaryrefslogtreecommitdiff
path: root/sample/evaldef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/evaldef.rb')
-rw-r--r--sample/evaldef.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/evaldef.rb b/sample/evaldef.rb
index 1d77a3c..a705300 100644
--- a/sample/evaldef.rb
+++ b/sample/evaldef.rb
@@ -3,7 +3,7 @@
# bar
# (eval):26: method `baz' not available for "#<foo: 0xbfc5c>"(foo)
-class foo
+class Foo
def foo
eval("
def baz
@@ -12,7 +12,7 @@ end")
end
end
-class bar:foo
+class Bar : Foo
def bar
baz()
end