Sha256: 52d5da5c5d2b290169946889d664504d37442676d297a4960c2a34af4f74514c

Contents?: true

Size: 266 Bytes

Versions: 76

Compression:

Stored size: 266 Bytes

Contents

class String
  def camelize
    Dry::Inflector.new.camelize(self)
  end

  def pluralize
    Dry::Inflector.new.pluralize(self)
  end

  def underscore
    Dry::Inflector.new.underscore(self)
  end

  def demodulize
    Dry::Inflector.new.demodulize(self)
  end
end

Version data entries

76 entries across 76 versions & 3 rubygems

Version Path
cthiesfork-awspec-1.2.2 lib/awspec/ext/string.rb
cthiesfork-awspec-1.2.1 lib/awspec/ext/string.rb
awspec-1.18.5 lib/awspec/ext/string.rb
cthiesfork-awspec-1.2.0 lib/awspec/ext/string.rb
cthiesfork-awspec-1.1.0 lib/awspec/ext/string.rb
cthiesfork-awspec-1.0.0 lib/awspec/ext/string.rb
awspec-1.18.4 lib/awspec/ext/string.rb
awspec-1.18.3 lib/awspec/ext/string.rb
awspec-1.18.2 lib/awspec/ext/string.rb
awspec-1.18.1 lib/awspec/ext/string.rb
awspec-1.18.0 lib/awspec/ext/string.rb
awspec-1.17.4 lib/awspec/ext/string.rb
awspec-1.17.3 lib/awspec/ext/string.rb
awspec-1.17.2 lib/awspec/ext/string.rb
awspec-1.17.1 lib/awspec/ext/string.rb
awspec-1.17.0 lib/awspec/ext/string.rb
awspec-1.16.1 lib/awspec/ext/string.rb
awspec-1.16.0 lib/awspec/ext/string.rb
awspec-1.15.3 lib/awspec/ext/string.rb
awspec-1.15.2 lib/awspec/ext/string.rb