Single line class definition utilize Class.new

The Class.new version is a cleaner syntax and removes the unwanted `;` that is included in the default class syntax.
Merge pull request #174 from adkron/single_line_class

Single line class definition utilize Class.new