Sha256: 909caf1072d2c9b911cb6c2cb4022841073f6dbb3046f518aab093c96838e635

Contents?: true

Size: 100 Bytes

Versions: 4

Compression:

Stored size: 100 Bytes

Contents

class Symbol
  def to_camelized_s
    self.to_s.split('_').map(&:capitalize).join(' ')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
uia-0.0.7.3 lib/core_ext/symbol.rb
uia-0.0.7.2 lib/core_ext/symbol.rb
uia-0.0.7.1 lib/core_ext/symbol.rb
uia-0.0.7 lib/core_ext/symbol.rb