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.
98 99 100 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 98 def auto_load @auto_load end |
#auto_update ⇒ Object
Returns the value of attribute auto_update.
99 100 101 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 99 def auto_update @auto_update end |
#load_detect ⇒ Object
Returns the value of attribute load_detect.
100 101 102 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 100 def load_detect @load_detect end |
Instance Method Details
#get_update(update_value) ⇒ Object
101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/cocoapods-byte-panglem-beta/recorder.rb', line 101 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 |