Class: Ungarbled::Encoder::Base
- Inherits:
-
Object
- Object
- Ungarbled::Encoder::Base
- Defined in:
- lib/ungarbled/encoder/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #encode(filename) ⇒ Object
- #encode_for_zip_item(filename) ⇒ Object
-
#initialize(browser, options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(browser, options = {}) ⇒ Base
Returns a new instance of Base.
4 5 6 7 |
# File 'lib/ungarbled/encoder/base.rb', line 4 def initialize(browser, = {}) @browser = browser @options = end |
Instance Method Details
#encode(filename) ⇒ Object
9 10 11 |
# File 'lib/ungarbled/encoder/base.rb', line 9 def encode(filename) filename end |
#encode_for_zip_item(filename) ⇒ Object
13 14 15 |
# File 'lib/ungarbled/encoder/base.rb', line 13 def encode_for_zip_item(filename) filename end |