changeset 15: | 64acf98d15f4 |
author: | moriq@moriq.com |
date: | Mon Mar 10 10:12:58 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | add plugins rspec |
1module Spec2 module Expectations3 module StringHelpers4 def starts_with?(prefix)5 to_s[0..(prefix.to_s.length - 1)] == prefix.to_s6 end7 end8 end9end1011class String12 include Spec::Expectations::StringHelpers13end1415class Symbol16 include Spec::Expectations::StringHelpers17end