Class: FlutterRb::Podspec

Inherits:
Object
  • Object
show all
Defined in:
lib/flutter_rb/project/specs/ios/podspec.rb

Overview

Podspec representation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, name, version, authors, source) ⇒ Podspec

Returns a new instance of Podspec.



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 6

def initialize(
  path,
  name,
  version,
  authors,
  source
)
  @path = path
  @name = name
  @version = version
  @authors = authors
  @source = source
end

Instance Attribute Details

#authorsObject (readonly)

Returns the value of attribute authors.



20
21
22
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 20

def authors
  @authors
end

#nameObject (readonly)

Returns the value of attribute name.



20
21
22
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 20

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



20
21
22
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 20

def path
  @path
end

#sourceObject (readonly)

Returns the value of attribute source.



20
21
22
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 20

def source
  @source
end

#versionObject (readonly)

Returns the value of attribute version.



20
21
22
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 20

def version
  @version
end