Refactored: Ruby objects to HTML/CSS/text