just playing around with ruby ( experimenting ). hopefully someone can help :p anyways... everytime I do this code
I keep getting this errorQuote:
class MYLIB
def s
self.to_s
end
def i
self.to_i
end
def f
self.to_f
end
end
class String < MYLIB
end
class Integer < MYLIB
end
line 15 being this codeQuote:
classes.rb:15: superclass mismatch for class String (TypeError)
Quote:
class String < MYLIB
