Class: Fastlane::Ref::RefDepInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/rocket/ref/ref_pod_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, version, dep_name, file_path, file_name, notes, podspec_quote) ⇒ RefDepInfo

Returns a new instance of RefDepInfo.



13
14
15
16
17
18
19
20
21
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 13

def initialize(name,version,dep_name,file_path,file_name,notes,podspec_quote)
    @name=name
    @version=version
    @dep_name=dep_name
    @file_path=file_path
    @file_name=file_name
    @notes=notes
    @podspec_quote=podspec_quote
end

Instance Attribute Details

#dep_nameObject (readonly)

Returns the value of attribute dep_name.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def dep_name
  @dep_name
end

#file_nameObject (readonly)

Returns the value of attribute file_name.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def file_name
  @file_name
end

#file_pathObject (readonly)

Returns the value of attribute file_path.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def file_path
  @file_path
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def name
  @name
end

#notesObject (readonly)

Returns the value of attribute notes.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def notes
  @notes
end

#podspec_quoteObject (readonly)

Returns the value of attribute podspec_quote.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def podspec_quote
  @podspec_quote
end

#versionObject (readonly)

Returns the value of attribute version.



5
6
7
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 5

def version
  @version
end

Instance Method Details

#stringObject



23
24
25
26
27
# File 'lib/fastlane/plugin/rocket/ref/ref_pod_info.rb', line 23

def string()
 string = []
 string << "引用文件:#{file_name} => #{notes}"
 Tools.logs(nil,string)
end