changeset 16: | 01fd3f10ae84 |
author: | moriq@moriq.com |
date: | Mon Mar 10 10:13:18 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add plugins rspec_on_rails |
1module ExplicitHelper2 def method_in_explicit_helper3 "<div>This is text from a method in the ExplicitHelper</div>"4 end56 # this is an example of a method spec'able with eval_erb in helper specs7 def prepend(arg, &block)8 concat(arg, block.binding) + block.call9 end10end