summaryrefslogtreecommitdiff
path: root/sample/export.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/export.rb')
-rw-r--r--sample/export.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/export.rb b/sample/export.rb
index be7b6bc797..03b9492e5a 100644
--- a/sample/export.rb
+++ b/sample/export.rb
@@ -4,7 +4,7 @@
# foo
class foo
- export(\printf)
+ export :printf
end
def foobar
@@ -12,7 +12,7 @@ def foobar
end
f = foo.new
-#foo.unexport(\printf)
-foo.export(\foobar)
+#foo.unexport :printf
+foo.export :foobar
f.foobar
f.printf "%s\n", foo