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.

Parameters:

  • path (String)
  • name (String)
  • version (String)
  • authors (String[])
  • source (String)


13
14
15
16
17
18
19
# File 'lib/flutter_rb/project/specs/ios/podspec.rb', line 13

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.



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

def authors
  @authors
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end

#sourceObject (readonly)

Returns the value of attribute source.



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

def source
  @source
end

#versionObject (readonly)

Returns the value of attribute version.



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

def version
  @version
end