Sha256: 724b06cb7c7d54d71d759d76e32abf186ee0911ed9f263c6fbfbd4e53cf12856
Contents?: true
Size: 166 Bytes
Versions: 3
Compression:
Stored size: 166 Bytes
Contents
# frozen_string_literal: true 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
darthjee-core_ext-1.6.2 | lib/darthjee/core_ext/symbol.rb |
darthjee-core_ext-1.6.1 | lib/darthjee/core_ext/symbol.rb |
darthjee-core_ext-1.6.0 | lib/darthjee/core_ext/symbol.rb |