Class: UIC::Property::Vector
- Inherits:
-
UIC::Property
- Object
- UIC::Property
- UIC::Property::Vector
- 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, #type
Constructor Details
This class inherits a constructor from UIC::Property
Instance Method Details
#get(asset, slide) ⇒ Object
46 47 48 |
# File 'lib/ruic/attributes.rb', line 46 def get(asset,) VectorValue.new(asset,self,,super) end |
#set(asset, new_value, slide_name_or_index) ⇒ Object
49 50 51 52 |
# File 'lib/ruic/attributes.rb', line 49 def set(asset,new_value,) new_value = new_value.join(' ') if new_value.is_a?(Array) super( asset, new_value, ) end |