Sha256: f5c2615166ab2da44d23ccd04df1a7eaab4e97cda0e3485a5a665337bf470696

Contents?: true

Size: 135 Bytes

Versions: 19

Compression:

Stored size: 135 Bytes

Contents

class Symbol
  def camelize(type = :upper)
    to_s.camelize(type).to_sym
  end

  def underscore
    to_s.underscore.to_sym
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
darthjee-core_ext-1.5.6 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.5.5 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.5.4 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.5.3 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.5.2 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.5.1 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.5.0 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.4.1 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.4.0 lib/darthjee/core_ext/symbol.rb
darthjee-core_ext-1.3.1 lib/symbol.rb
darthjee-core_ext-1.3.0 lib/symbol.rb
darthjee-core_ext-1.2.6 lib/symbol.rb
bidu-core_ext-1.2.5 lib/symbol.rb
bidu-core_ext-1.2.4 lib/symbol.rb
bidu-core_ext-1.2.3 lib/symbol.rb
bidu-core_ext-1.2.2 lib/symbol.rb
bidu-core_ext-1.2.1 lib/symbol.rb
bidu-core_ext-1.2.0 lib/symbol.rb
bidu-core_ext-1.1.1 lib/symbol.rb