Class: Fack
- Inherits:
-
Object
- Object
- Fack
- Defined in:
- lib/fack.rb
Instance Method Summary collapse
Instance Method Details
#find_file(start, file) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/fack.rb', line 8 def find_file(start, file) Dir.entries(start)[2..-1].each do |d| puts d if d.include?(file) find_file(d, file) if File.directory?(d) end end |
#help ⇒ Object
4 5 6 |
# File 'lib/fack.rb', line 4 def help puts "to use fack path" end |