Class: FlutterRb::Podspec
- Inherits:
-
Object
- Object
- FlutterRb::Podspec
- Defined in:
- lib/flutter_rb/project/specs/ios/podspec.rb
Overview
Represents a parsed Podspec file.
Instance Attribute Summary collapse
-
#authors ⇒ Array<String>
readonly
Returns the authors of the Podspec.
-
#name ⇒ String
readonly
Returns the name of the Podspec.
-
#path ⇒ String
readonly
Returns the path to the Podspec file.
-
#source ⇒ String
readonly
Returns the source of the Podspec.
-
#version ⇒ String
readonly
Returns the version of the Podspec.
Instance Method Summary collapse
-
#initialize(path, name, version, authors, source) ⇒ Podspec
constructor
Initializes a new instance of Podspec.
Constructor Details
#initialize(path, name, version, authors, source) ⇒ Podspec
Initializes a new instance of Podspec.
15 16 17 18 19 20 21 |
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 15 def initialize(path, name, version, , source) @path = path @name = name @version = version @authors = @source = source end |
Instance Attribute Details
#authors ⇒ Array<String> (readonly)
Returns the authors of the Podspec.
41 42 43 |
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 41 def @authors end |
#name ⇒ String (readonly)
Returns the name of the Podspec.
31 32 33 |
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 31 def name @name end |
#path ⇒ String (readonly)
Returns the path to the Podspec file.
26 27 28 |
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 26 def path @path end |
#source ⇒ String (readonly)
Returns the source of the Podspec.
46 47 48 |
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 46 def source @source end |
#version ⇒ String (readonly)
Returns the version of the Podspec.
36 37 38 |
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 36 def version @version end |