Class: Onceler::Recording
- Inherits:
-
Object
- Object
- Onceler::Recording
- Defined in:
- lib/onceler/recorder.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
Instance Method Summary collapse
-
#initialize(block) ⇒ Recording
constructor
A new instance of Recording.
- #prepare_medium!(tape) ⇒ Object
- #record_onto!(tape) ⇒ Object
Constructor Details
#initialize(block) ⇒ Recording
Returns a new instance of Recording.
111 112 113 |
# File 'lib/onceler/recorder.rb', line 111 def initialize(block) @block = block end |
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
109 110 111 |
# File 'lib/onceler/recorder.rb', line 109 def block @block end |
Instance Method Details
#prepare_medium!(tape) ⇒ Object
115 |
# File 'lib/onceler/recorder.rb', line 115 def prepare_medium!(tape); end |
#record_onto!(tape) ⇒ Object
117 118 119 |
# File 'lib/onceler/recorder.rb', line 117 def record_onto!(tape) tape.__record(self) end |