Class: Mediakit::Drivers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mediakit/drivers.rb

Direct Known Subclasses

PopenDriver

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#binObject (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

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/mediakit/drivers.rb', line 20

def command(*args)
  raise(NotImplementedError)
end

#run(*args) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/mediakit/drivers.rb', line 16

def run(*args)
  raise(NotImplementedError)
end