Class: Calasmash::Plist
- Inherits:
-
Object
- Object
- Calasmash::Plist
- Defined in:
- lib/calasmash/plist.rb
Overview
Does some fun stuff with Xcode plists, calasmash needs to update the Xcode projects plist to trick the simulator into connecting to a sinatra server instead
Instance Attribute Summary collapse
-
#scheme ⇒ Object
Public: the Scheme the plist is related to.
Instance Method Summary collapse
-
#execute ⇒ Object
Executes the plist tasks update and clear the old plists.
-
#initialize(scheme) ⇒ Plist
constructor
Create a new plist instance.
Constructor Details
#initialize(scheme) ⇒ Plist
Create a new plist instance
23 24 25 |
# File 'lib/calasmash/plist.rb', line 23 def initialize(scheme) @scheme = scheme end |
Instance Attribute Details
#scheme ⇒ Object
Public: the Scheme the plist is related to
16 17 18 |
# File 'lib/calasmash/plist.rb', line 16 def scheme @scheme end |
Instance Method Details
#execute ⇒ Object
Executes the plist tasks update and clear the old plists
30 31 32 33 34 35 36 |
# File 'lib/calasmash/plist.rb', line 30 def execute started update clear completed end |