Class: Pod::Generator::Acknowledgements

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/generator/acknowledgements.rb

Direct Known Subclasses

Markdown, Plist

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_accessors) ⇒ Acknowledgements


19
20
21
# File 'lib/cocoapods/generator/acknowledgements.rb', line 19

def initialize(file_accessors)
  @file_accessors = file_accessors
end

Instance Attribute Details

#file_accessorsArray<Sandbox::FileAccessor> (readonly)


15
16
17
# File 'lib/cocoapods/generator/acknowledgements.rb', line 15

def file_accessors
  @file_accessors
end

Class Method Details

.generatorsArray<Class>


7
8
9
# File 'lib/cocoapods/generator/acknowledgements.rb', line 7

def self.generators
  [Plist, Markdown]
end

Instance Method Details

#footnote_textString


47
48
49
# File 'lib/cocoapods/generator/acknowledgements.rb', line 47

def footnote_text
  'Generated by CocoaPods - https://cocoapods.org'
end

#footnote_titleString


41
42
43
# File 'lib/cocoapods/generator/acknowledgements.rb', line 41

def footnote_title
  ''
end

#header_textString


35
36
37
# File 'lib/cocoapods/generator/acknowledgements.rb', line 35

def header_text
  'This application makes use of the following third party libraries:'
end

#header_titleString


29
30
31
# File 'lib/cocoapods/generator/acknowledgements.rb', line 29

def header_title
  'Acknowledgements'
end