Class: UIC::Property::Texture
- Inherits:
-
String
- Object
- UIC::Property
- String
- UIC::Property::Texture
- Defined in:
- lib/ruic/attributes.rb
Direct Known Subclasses
Constant Summary
Constants inherited from UIC::Property
Color, Float2, FontSize, Import, Mesh, MultiLineString, Renderable, Rotation, StringListOrInt
Instance Attribute Summary
Attributes inherited from UIC::Property
Instance Method Summary collapse
Methods inherited from UIC::Property
#description, #formal, #initialize, #inspect, #max, #min, #name, #set, #type
Constructor Details
This class inherits a constructor from UIC::Property
Instance Method Details
#get(asset, slide) ⇒ Object
75 76 77 78 79 |
# File 'lib/ruic/attributes.rb', line 75 def get(asset,) if path=super path.empty? ? nil : path.gsub( '\\', '/' ).sub( /^.\// ,'' ) end end |