Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
class Empty
|
||||
end
|
||||
|
||||
e = Empty.new
|
||||
class << e
|
||||
attr_accessor :foo
|
||||
end
|
||||
e.foo = 1
|
||||
puts e.foo # output: "1"
|
||||
|
||||
f = Empty.new
|
||||
f.foo = 1 # raises NoMethodError
|
||||
Loading…
Add table
Add a link
Reference in a new issue