class Quad.rb