Class: Resources::AssetCatalogResource
- Defined in:
- lib/robjc/resources/asset_catalog_resource.rb
Constant Summary collapse
- IMAGE_SET_EXTENSION =
"imageset"
Instance Attribute Summary collapse
-
#images ⇒ Object
readonly
Returns the value of attribute images.
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Resources::Resource
Instance Attribute Details
#images ⇒ Object (readonly)
Returns the value of attribute images.
4 5 6 |
# File 'lib/robjc/resources/asset_catalog_resource.rb', line 4 def images @images end |
Instance Method Details
#method_name(string) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/robjc/resources/asset_catalog_resource.rb', line 12 def method_name(string) components = string.split('-') string = components.first.downcase if components.length == 1 string else components.each_with_index do |s, i| next if i == 0 string += s.capitalize end end string end |