Class: Mediakit::Drivers::Base
- Inherits:
-
Object
- Object
- Mediakit::Drivers::Base
- Defined in:
- lib/mediakit/drivers.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#bin ⇒ Object
readonly
Returns the value of attribute bin.
Instance Method Summary collapse
- #command(*args) ⇒ Object
-
#initialize(bin) ⇒ Base
constructor
A new instance of Base.
- #run(*args) ⇒ Object
Constructor Details
#initialize(bin) ⇒ Base
Returns a new instance of Base.
12 13 14 |
# File 'lib/mediakit/drivers.rb', line 12 def initialize(bin) @bin = bin end |
Instance Attribute Details
#bin ⇒ Object (readonly)
Returns the value of attribute bin.
10 11 12 |
# File 'lib/mediakit/drivers.rb', line 10 def bin @bin end |
Instance Method Details
#command(*args) ⇒ Object
20 21 22 |
# File 'lib/mediakit/drivers.rb', line 20 def command(*args) raise(NotImplementedError) end |
#run(*args) ⇒ Object
16 17 18 |
# File 'lib/mediakit/drivers.rb', line 16 def run(*args) raise(NotImplementedError) end |