Class: AllowedDependency
- Inherits:
-
Object
- Object
- AllowedDependency
- Defined in:
- lib/cocoapods-whitelist/command/whitelist.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(name, version) ⇒ AllowedDependency
constructor
A new instance of AllowedDependency.
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
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/cocoapods-whitelist/command/whitelist.rb', line 6 def name @name end |
#version ⇒ Object
Returns the value of attribute version.
7 8 9 |
# File 'lib/cocoapods-whitelist/command/whitelist.rb', line 7 def version @version end |