Class: Caliper::Entities::Reading::Frame
- Inherits:
-
DigitalResource
- Object
- Entity
- EntityBase
- DigitalResource
- Caliper::Entities::Reading::Frame
- Includes:
- Targetable
- Defined in:
- lib/caliper/entities/reading/frame.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
Returns the value of attribute index.
Attributes inherited from DigitalResource
#alignedLearningObjective, #datePublished, #isPartOf, #keywords, #objectType, #version
Attributes inherited from EntityBase
#dateCreated, #dateModified, #description, #extensions, #name
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize ⇒ Frame
constructor
A new instance of Frame.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ Frame
Returns a new instance of Frame.
33 34 35 36 37 |
# File 'lib/caliper/entities/reading/frame.rb', line 33 def initialize super @type = Caliper::Entities::DigitalResourceType::FRAME @index = 0 end |
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index.
31 32 33 |
# File 'lib/caliper/entities/reading/frame.rb', line 31 def index @index end |