Sha256: ba8bcaabd6d4f9331252db9af2f3309751a2067b2e4163f570bce42a0343ecff
Contents?: true
Size: 259 Bytes
Versions: 69
Compression:
Stored size: 259 Bytes
Contents
class String def fastlane_class split('_').collect!(&:capitalize).join 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
69 entries across 69 versions & 1 rubygems