Class: Rake::FileList
- Inherits:
-
Object
- Object
- Rake::FileList
- Defined in:
- lib/cocoapods/file_list.rb
Instance Method Summary collapse
- #directory? ⇒ Boolean
- #glob ⇒ Object
- #inspect ⇒ Object (also: #to_s)
- #prepend_patterns(pathname) ⇒ Object
Instance Method Details
#directory? ⇒ Boolean
18 19 20 |
# File 'lib/cocoapods/file_list.rb', line 18 def directory? false end |
#glob ⇒ Object
22 23 24 |
# File 'lib/cocoapods/file_list.rb', line 22 def glob to_a.map { |path| Pathname.new(path) } end |
#inspect ⇒ Object Also known as: to_s
26 27 28 |
# File 'lib/cocoapods/file_list.rb', line 26 def inspect "<##{self.class} pending_add=#{@pending_add}>" end |
#prepend_patterns(pathname) ⇒ Object
14 15 16 |
# File 'lib/cocoapods/file_list.rb', line 14 def prepend_patterns(pathname) @pending_add.map! { |pattern| (pathname + pattern).to_s } end |