Module: StringConcern
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/string_extensions.rb
Instance Method Summary collapse
Instance Method Details
#likeize ⇒ Object
7 8 9 10 |
# File 'lib/string_extensions.rb', line 7 def likeize # .select{|w| w.length > 2} strip.gsub(/[^A-Za-z0-9]/, " ").split.join("%") end |