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.10.2 sct_core/lib/sct_core/core_ext/string.rb
sct-1.10.1 sct_core/lib/sct_core/core_ext/string.rb
sct-1.10.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.9.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.8.2 sct_core/lib/sct_core/core_ext/string.rb
sct-1.8.1 sct_core/lib/sct_core/core_ext/string.rb
sct-1.8.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.7.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.6.3 sct_core/lib/sct_core/core_ext/string.rb
sct-1.5.1 sct_core/lib/sct_core/core_ext/string.rb
sct-1.5.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.4.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.3.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.2.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.1.2 sct_core/lib/sct_core/core_ext/string.rb
sct-1.1.1 sct_core/lib/sct_core/core_ext/string.rb
sct-1.1.0 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.9 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.8 sct_core/lib/sct_core/core_ext/string.rb
sct-1.0.7 sct_core/lib/sct_core/core_ext/string.rb