Module: Spark::CoreExtension::String

Defined in:
lib/spark/ext/string.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/spark/ext/string.rb', line 13

def self.included(base)
  base.extend(ClassMethods)
  base.send(:include, InstanceMethods)
  base.class_eval do
    patch_unless_exist :camelize, :spark
  end
end