Class: A
- Inherits:
-
Object
- Object
- A
- Defined in:
- lib/a.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.inherited(b) ⇒ Object
2 |
# File 'lib/a.rb', line 2 def self.inherited(b);$c<<b;end |
Instance Method Details
#a(c) ⇒ Object
1 2 |
# File 'lib/a.rb', line 1 def a c;$a+=1;print c ?"\e[32m.\e[0m":($f\ <<caller[0];"\e[31mF\e[0m");end |