# method access permission
# output:
# foobar
# Foo
class Foo
public :printf
def baz
print "baz\n"
end
private :baz
def quux
print "in QUUX "
baz()
def foobar
print "foobar\n"
f = Foo.new
#Foo.private :printf
class Foo # redefines foobar's scope
public :foobar
f.foobar
f.printf "%s\n", Foo
f.quux
class Bar < Foo
super
Bar.new.quux