Sha256: 14afb2730754e8e78a3adcda0e8404c174944f958b4039b21d03105b8ea7b6c0

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

require "minmini_ventures/version"

module MinminiVentures
    
  module InstanceMethods
    def minmini_title options = {}
      MinminiVentures.minmini_title(self, options)
    end
  end
  
  def self.minmini_title dirty_string, options = {}
    dirty_string.to_s.split(/([ ~`'@#$%^&*()_+=,.?{}<>:;"-])/).map(&:capitalize).join
  end
  
end

String.send :include, MinminiVentures::InstanceMethods

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minmini_ventures-0.1.0 lib/minmini_ventures.rb