Ruby: class base style.

add class_base.rb