DISQUS

DISQUS Hello! Software Test Objects is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Ruby example

Started by marekj · 9 months ago

## Ruby example for John
# Initializing instance variable on superclass.
# class B is a subclass of A and inherits attribute a from superclass.
# Then in B we add attribute b.

class A
attr :a, true
end

class B < A
attr :b, true
def initiali ... Continue reading »

0 comments

This thread has no comments yet.

Add New Comment

Returning? Login