Class: CBin::LocalLibrary
- Inherits:
-
Object
- Object
- CBin::LocalLibrary
- Defined in:
- lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb,
lib/cocoapods-imy-bin/helpers/local/local_library_builder.rb
Defined Under Namespace
Classes: Builder
Instance Attribute Summary collapse
-
#headers_path ⇒ Object
readonly
Returns the value of attribute headers_path.
-
#name_path ⇒ Object
readonly
Returns the value of attribute name_path.
-
#resources_path ⇒ Object
readonly
Returns the value of attribute resources_path.
-
#root_path ⇒ Object
readonly
Returns the value of attribute root_path.
-
#versions_path ⇒ Object
readonly
Returns the value of attribute versions_path.
Instance Method Summary collapse
- #delete_resources ⇒ Object
-
#initialize(name, platform, version) ⇒ LocalLibrary
constructor
A new instance of LocalLibrary.
- #make ⇒ Object
Constructor Details
#initialize(name, platform, version) ⇒ LocalLibrary
Returns a new instance of LocalLibrary.
14 15 16 17 18 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 14 def initialize(name, platform, version) @name = name @platform = platform @version = version end |
Instance Attribute Details
#headers_path ⇒ Object (readonly)
Returns the value of attribute headers_path.
8 9 10 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 8 def headers_path @headers_path end |
#name_path ⇒ Object (readonly)
Returns the value of attribute name_path.
12 13 14 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 12 def name_path @name_path end |
#resources_path ⇒ Object (readonly)
Returns the value of attribute resources_path.
9 10 11 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 9 def resources_path @resources_path end |
#root_path ⇒ Object (readonly)
Returns the value of attribute root_path.
10 11 12 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 10 def root_path @root_path end |
#versions_path ⇒ Object (readonly)
Returns the value of attribute versions_path.
11 12 13 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 11 def versions_path @versions_path end |
Instance Method Details
#delete_resources ⇒ Object
27 28 29 30 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 27 def delete_resources Pathname.new(@resources_path).rmtree (Pathname.new(@fwk_path) + Pathname.new('Resources')).delete end |
#make ⇒ Object
20 21 22 23 24 25 |
# File 'lib/cocoapods-imy-bin/helpers/local/loca_llibrary.rb', line 20 def make make_root make_library make_headers make_resources end |