Class: Bagel::Video::Overlays::Overlay
- Inherits:
-
Object
- Object
- Bagel::Video::Overlays::Overlay
show all
- Defined in:
- lib/bagel/video/overlays/overlay.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(asset, fade = false) ⇒ Overlay
Returns a new instance of Overlay.
5
6
7
8
|
# File 'lib/bagel/video/overlays/overlay.rb', line 5
def initialize(asset, fade=false)
@asset = asset
@fade = fade
end
|
Instance Attribute Details
#asset ⇒ Object
Returns the value of attribute asset.
3
4
5
|
# File 'lib/bagel/video/overlays/overlay.rb', line 3
def asset
@asset
end
|
Instance Method Details
#fade ⇒ Object
18
19
20
|
# File 'lib/bagel/video/overlays/overlay.rb', line 18
def fade
raise_not_implemented_error(self.class, __method__)
end
|
#orientation ⇒ Object
10
11
12
|
# File 'lib/bagel/video/overlays/overlay.rb', line 10
def orientation
raise_not_implemented_error(self.class, __method__)
end
|
#padding ⇒ Object
14
15
16
|
# File 'lib/bagel/video/overlays/overlay.rb', line 14
def padding
raise_not_implemented_error(self.class, __method__)
end
|