Sha256: 3b31a09e58a142f2e2c7cb28b871b91d5cb5755ab47d1f1f06e696919aea326a

Contents?: true

Size: 138 Bytes

Versions: 42

Compression:

Stored size: 138 Bytes

Contents

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

    def sct_module
        self.sct_class
    end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
sct-0.1.20 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.19 sct_core/lib/sct_core/core_ext/string.rb