Sha256: f98c728281ed94b639a863cbcc001409f9321dd5dad7ac58a663ddee872dcbd2
Contents?: true
Size: 516 Bytes
Versions: 10
Compression:
Stored size: 516 Bytes
Contents
Stringex = Module.new unless defined?(Stringex) ensure_module_defined = ->(base, module_name){ base.const_set(module_name, Module.new) unless base.const_defined?(module_name) } ensure_module_defined[Stringex, :StringExtensions] ensure_module_defined[Stringex::StringExtensions, :PublicInstanceMethods] ensure_module_defined[Stringex::StringExtensions, :PublicClassMethods] String.send :include, Stringex::StringExtensions::PublicInstanceMethods String.send :extend, Stringex::StringExtensions::PublicClassMethods
Version data entries
10 entries across 10 versions & 1 rubygems