Class: Framework
- Inherits:
-
Object
- Object
- Framework
- Defined in:
- lib/framework.rb
Overview
Example data:
-
“name” : “Sentry”,
-
“linking” : “dynamic”
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name, linking) ⇒ Framework
constructor
A new instance of Framework.
- #make_archive(platform) ⇒ Object
Constructor Details
#initialize(name, linking) ⇒ Framework
Returns a new instance of Framework.
11 12 13 14 |
# File 'lib/framework.rb', line 11 def initialize(name, linking) @name = name @linking = linking end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/framework.rb', line 5 def name @name end |
Class Method Details
Instance Method Details
#make_archive(platform) ⇒ Object
16 17 18 |
# File 'lib/framework.rb', line 16 def make_archive(platform) FrameworkCarthageArchive.new(name, platform) end |