Class: Struct
- Inherits:
-
Object
- Object
- Struct
- Defined in:
- lib/measures/view_data/resources/va3c.rb,
lib/measures/view_model/resources/va3c.rb
Direct Known Subclasses
VA3C::AmbientLight, VA3C::Geometry, VA3C::GeometryData, VA3C::Material, VA3C::Scene, VA3C::SceneChild, VA3C::SceneObject, VA3C::UserData, VA3C::Vertex
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 |
# File 'lib/measures/view_data/resources/va3c.rb', line 10 def to_h h = {} self.class.members.each { |m| h[m.to_sym] = self[m] } return h end |