Sha256: 021707d2167a003d10cbc6677c7633f711fe075766e5a5ae3a69816cafed19c9

Contents?: true

Size: 169 Bytes

Versions: 8

Compression:

Stored size: 169 Bytes

Contents

module Skellington
  def self.camelise worm_case
    parts = worm_case.split '_'
    parts.map! { |word| "#{word[0].upcase}#{word[1..-1]}" }
    parts.join ''
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
skellington-0.1.3 lib/skellington/helpers.rb
skellington-0.1.2 lib/skellington/helpers.rb
skellington-0.1.1 lib/skellington/helpers.rb
skellington-0.1.0 lib/skellington/helpers.rb
skellington-0.0.7 lib/skellington/helpers.rb
skellington-0.0.6 lib/skellington/helpers.rb
skellington-0.0.5 lib/skellington/helpers.rb
skellington-0.0.4 lib/skellington/helpers.rb