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-1.0.6 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.5 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.4 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.2 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.1 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.0 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.35 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.34 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.33 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.31 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.30 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.29 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.28 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.27 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.26 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.25 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.24 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.23 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.22 sct_core/lib/sct_core/core_ext/string.rb
sct-0.1.21 sct_core/lib/sct_core/core_ext/string.rb