Tim Morgan
Tim Morgan is a web developer working in Tulsa for a non-profit community service agency. He spends most of his time dreaming up new projects and programming in Ruby.
Tim and his wife Jennie are very active in their local church and focused on equipping believers to utilize technology in meaningful ways.
-
Things I've Bookmarked
Monthly Archives: June 2009
I’ve been working on a little experiment lately… a Ruby domain-specific language for generating Cascading Style Sheets called CascadingRubies.
It’s an internal DSL, meaning it uses plain Ruby syntax, like this:

Output:

Being just Ruby, of course, you can mix in variables, arithmetic, require external code, hit the database, or whatever.
The guys on the Tulsa.rb mailing list have provided some great feedback, and from that I’ve released the the second gem version (0.2.0). If this looks interesting to you, head over to the GitHub project and check it out. Please let me know what you think.
