Class: Typekit::Processing::Converter::Unknown

Inherits:
Object
  • Object
show all
Defined in:
lib/typekit/processing/converter/unknown.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Unknown

Returns a new instance of Unknown.



5
6
7
# File 'lib/typekit/processing/converter/unknown.rb', line 5

def initialize(name)
  @name = name
end

Instance Method Details

#process(response, object) ⇒ Object



9
10
11
# File 'lib/typekit/processing/converter/unknown.rb', line 9

def process(response, object)
  { @name => object }
end