Class: GM::Note
- Inherits:
-
Object
- Object
- GM::Note
- Defined in:
- lib/cocoapods-byte-csjm/gm.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.
74 75 76 |
# File 'lib/cocoapods-byte-csjm/gm.rb', line 74 def auto_load @auto_load end |
#auto_update ⇒ Object
Returns the value of attribute auto_update.
75 76 77 |
# File 'lib/cocoapods-byte-csjm/gm.rb', line 75 def auto_update @auto_update end |
#load_detect ⇒ Object
Returns the value of attribute load_detect.
76 77 78 |
# File 'lib/cocoapods-byte-csjm/gm.rb', line 76 def load_detect @load_detect end |
Instance Method Details
#get_update(update_value) ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/cocoapods-byte-csjm/gm.rb', line 77 def get_update(update_value) value = '' case update_value when true value = GM::BuildConfig.update_value_last_version when false value = GM::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 |