Class: UIC::Property::Boolean
- Inherits:
-
UIC::Property
- Object
- UIC::Property
- UIC::Property::Boolean
- 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
39 |
# File 'lib/ruic/attributes.rb', line 39 def get(asset,); super=='True'; end |
#set(asset, new_value, slide_name_or_index) ⇒ Object
40 41 42 |
# File 'lib/ruic/attributes.rb', line 40 def set(asset,new_value,) super( asset, new_value ? 'True' : 'False', ) end |