Class: Motion::Project::LibGenerator
- Inherits:
-
Object
- Object
- Motion::Project::LibGenerator
- Defined in:
- lib/motion-objc.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
-
#project_path ⇒ Object
Returns the value of attribute project_path.
Instance Method Summary collapse
-
#initialize(files = []) ⇒ LibGenerator
constructor
A new instance of LibGenerator.
- #vendor(app) ⇒ Object
Constructor Details
#initialize(files = []) ⇒ LibGenerator
Returns a new instance of LibGenerator.
35 36 37 |
# File 'lib/motion-objc.rb', line 35 def initialize(files=[]) @files = files end |
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
33 34 35 |
# File 'lib/motion-objc.rb', line 33 def files @files end |
#project_path ⇒ Object
Returns the value of attribute project_path.
32 33 34 |
# File 'lib/motion-objc.rb', line 32 def project_path @project_path end |
Instance Method Details
#vendor(app) ⇒ Object
39 40 41 42 43 44 |
# File 'lib/motion-objc.rb', line 39 def vendor(app) generate(app) app.vendor_project @project_path, :xcode, :target => 'MotionObjC', :products => ['libMotionObjC.a'] end |