Top Level Namespace
Defined Under Namespace
Classes: ProfFilter
Instance Method Summary collapse
Instance Method Details
#Filter(word) ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/prof_filter.rb', line 27 def Filter (word) filter = "" loop do if filter.length == word.length break else filter = filter+"*" end end filter end |