Class: UIC::Property::Texture
- Inherits:
-
String
- Object
- UIC::Property
- String
- UIC::Property::Texture
- Defined in:
- lib/ruic/attributes.rb
Constant Summary
Constants inherited from UIC::Property
Color, Float2, Font, FontSize, Import, Mesh, MultiLineString, Renderable, Rotation, StringListOrInt
Instance Method Summary collapse
Methods inherited from UIC::Property
#default, #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
70 71 72 73 74 |
# File 'lib/ruic/attributes.rb', line 70 def get(asset,) if path=super path.empty? ? nil : path.gsub( '\\', '/' ).sub( /^.\// ,'' ) end end |