Created
August 8, 2010 00:01
-
-
Save DerGuteMoritz/513360 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def rispp_box1(title, options = {}, &block) | |
SXML.transform([:div, { :class => 'box1' }, | |
[:div, { :class => 'wrap' }, | |
[:h2, { :class => options[:class] }], | |
capture { block.call(title, options) }]]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment