module Traits class Base def to_hash {} end end end