Skave Rat <skaverat / rf-linux.org> wrote:

> How can I get this code to work in my classes?
> http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/String/
> StartsEndsWith.html

require 'rubygems'
require 'activesupport'
include ActiveSupport::CoreExtensions::String

puts "howdy".starts_with?("ho")

Is that the kind of thing you mean? m.
-- 
matt neuburg, phd = matt / tidbits.com, http://www.tidbits.com/matt/
Leopard - http://www.takecontrolbooks.com/leopard-customizing.html
AppleScript - http://www.amazon.com/gp/product/0596102119
Read TidBITS! It's free and smart. http://www.tidbits.com