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
awspec-1.25.1 lib/awspec/ext/string.rb
awspec-1.25.0 lib/awspec/ext/string.rb
awspec-1.24.4 lib/awspec/ext/string.rb
awspec-1.24.3 lib/awspec/ext/string.rb
awspec-1.24.2 lib/awspec/ext/string.rb
awspec-1.24.1 lib/awspec/ext/string.rb
awspec-1.24.0 lib/awspec/ext/string.rb
awspec-1.23.0 lib/awspec/ext/string.rb
awspec-1.22.1 lib/awspec/ext/string.rb
awspec-1.22.0 lib/awspec/ext/string.rb
awspec-1.21.1 lib/awspec/ext/string.rb
awspec-1.21.0 lib/awspec/ext/string.rb
awspec-1.20.0 lib/awspec/ext/string.rb
awspec-1.19.2 lib/awspec/ext/string.rb
awspec-1.19.1 lib/awspec/ext/string.rb
awspec-1.19.0 lib/awspec/ext/string.rb
cthiesfork-awspec-1.2.4 lib/awspec/ext/string.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/ext/string.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/ext/string.rb
awspec-1.18.6 lib/awspec/ext/string.rb