Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.246 kb
module ActiveSupportMethods
def camelize
sub(/^([a-z])/) {$1.upcase}.gsub(/_([a-z])/) do
$1.upcase
end
end
def blank?
empty?
end
end
String.send :include, ActiveSupportMethods unless String.new.respond_to?(:underscore)
Jump to Line
Something went wrong with that request. Please try again.