Class: AllowedDependency

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-whitelist/command/whitelist.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, version) ⇒ AllowedDependency

Returns a new instance of AllowedDependency.



8
9
10
11
# File 'lib/cocoapods-whitelist/command/whitelist.rb', line 8

def initialize(name, version)
   @name = name
   @version = version
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/cocoapods-whitelist/command/whitelist.rb', line 6

def name
  @name
end

#versionObject

Returns the value of attribute version.



7
8
9
# File 'lib/cocoapods-whitelist/command/whitelist.rb', line 7

def version
  @version
end