summaryrefslogtreecommitdiff
path: root/sample/attr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/attr.rb')
-rw-r--r--sample/attr.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/sample/attr.rb b/sample/attr.rb
deleted file mode 100644
index 1d329ea06a..0000000000
--- a/sample/attr.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# attribute access example
-# output:
-# 10
-# #<Foo: @test=10>
-
-class Foo
- attr "test", TRUE
-end
-
-foo = Foo.new
-foo.test = 10
-print foo.test, "\n"
-foo._inspect.print
-print "\n"