Method: FileDep#initialize
- Defined in:
- lib/file_dep.rb
#initialize(glob, type) ⇒ FileDep
7 8 9 10 11 12 13 14 15 |
# File 'lib/file_dep.rb', line 7 def initialize(glob, type) # Can be a string like "main.c" or "src/*.c", or an array like # ["src/main.c", "src/lib/*.c"] @glob = glob # :each or :all @type = type # SingleFile, or MultiFile @file_obj = nil end |