Class: SlideField::ObjectRules::SBase

Inherits:
Base
  • Object
show all
Defined in:
lib/slidefield/objects/_base.rb

Direct Known Subclasses

Animation, GBase, Slide, Song

Instance Method Summary collapse

Methods inherited from Base

#accepted_children, #default_value, get, #initialize, #matching_properties, #optional_properties, #properties_names, #properties_types, #required_properties, #requirements_of_child, #type_of_property

Constructor Details

This class inherits a constructor from SlideField::ObjectRules::Base

Instance Method Details

#rulesObject



10
11
12
13
14
15
16
17
18
# File 'lib/slidefield/objects/_base.rb', line 10

def rules
  child :animation
  child :image
  child :rect
  child :song
  child :text

  super
end