Sha256: f9e1d100035625e265bd9e05e4d9edbe631f7afa3d2d1882948ded23f3d26d22

Contents?: true

Size: 344 Bytes

Versions: 1153

Compression:

Stored size: 344 Bytes

Contents

class String
  def fastlane_class
    split('_').collect!(&:capitalize).join
  end

  def fastlane_module
    self == "pem" ? 'PEM' : self.fastlane_class
  end

  def fastlane_underscore
    self.gsub(/::/, '/').
      gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').
      gsub(/([a-z\d])([A-Z])/, '\1_\2').
      tr("-", "_").
      downcase
  end
end

Version data entries

1,153 entries across 1,153 versions & 6 rubygems

Version Path
fastlane-2.225.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.224.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.223.1 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.223.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.222.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.221.1 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.221.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.220.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.219.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.218.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-security-patched-2.216.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.217.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.216.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.215.1 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.215.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-mercafacil-2.214.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.214.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.213.0 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane-2.212.2 fastlane_core/lib/fastlane_core/core_ext/string.rb
fastlane_pricing_fix-2.212.1 fastlane_core/lib/fastlane_core/core_ext/string.rb