module File
Public Class Methods
search(file, *args, &block)
click to toggle source
# File lib/pms/ext.rb, line 45 def search(file, *args, &block) file = file.path if file.respond_to?(:path) open(file) { |f| f.search(*args, &block) } end