Class: Bulldog::Attachment::Video::Track
- Inherits:
-
Object
- Object
- Bulldog::Attachment::Video::Track
- Defined in:
- lib/bulldog/attachment/video.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Track
constructor
A new instance of Track.
Constructor Details
#initialize(attributes = {}) ⇒ Track
Returns a new instance of Track.
135 136 137 138 139 |
# File 'lib/bulldog/attachment/video.rb', line 135 def initialize(attributes={}) attributes.each do |name, value| send("#{name}=", value) end end |
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
141 142 143 |
# File 'lib/bulldog/attachment/video.rb', line 141 def duration @duration end |