Skip to content

Instantly share code, notes, and snippets.

@lev
lev / fancy-markup.rb
Last active August 29, 2015 14:20
Toronto Ruby Brigade - Leigh Halliday's DSL workshop
# based on: http://www.leighhalliday.com/creating-ruby-dsl
class FancyMarkup
def initialize
@markup = ''
end
# the args array should capture any number of arguments, from zero to many