Class: PM::Note
- Inherits:
-
Object
- Object
- PM::Note
- Defined in:
- lib/cocoapods-byte-panglem-beta/recorder.rb
Overview
配置信息
Direct Known Subclasses
Instance Attribute Summary collapse
-
#auto_load ⇒ Object
Returns the value of attribute auto_load.
-
#auto_update ⇒ Object
Returns the value of attribute auto_update.
-
#load_detect ⇒ Object
Returns the value of attribute load_detect.
Instance Method Summary collapse
Instance Attribute Details
#auto_load ⇒ Object
Returns the value of attribute auto_load.
105 106 107 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 105 def auto_load @auto_load end |
#auto_update ⇒ Object
Returns the value of attribute auto_update.
106 107 108 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 106 def auto_update @auto_update end |
#load_detect ⇒ Object
Returns the value of attribute load_detect.
107 108 109 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 107 def load_detect @load_detect end |
Instance Method Details
#get_update(update_value) ⇒ Object
108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 108 def get_update(update_value) value = '' case update_value when true value = PM::BuildConfig.update_value_last_version when false value = PM::BuildConfig.update_value_non when String value = update_value else raise ArgumentError, "CSJM error: `#{update_value.inspect}`, should be a boolean or string." end value end |