Class: Ungarbled::Encoder::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ungarbled/encoder/base.rb

Direct Known Subclasses

Ja

Instance Method Summary collapse

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, options = {})
  @browser = browser
  @options = 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