changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb

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 ExplicitHelper
2 def method_in_explicit_helper
3 "<div>This is text from a method in the ExplicitHelper</div>"
4 end
5
6 # this is an example of a method spec'able with eval_erb in helper specs
7 def prepend(arg, &block)
8 concat(arg, block.binding) + block.call
9 end
10end