Class: Typekit::Converter::Unknown

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Unknown

Returns a new instance of Unknown.



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

def initialize(name, *)
  @name = name
end

Instance Method Details

#process(result, object) ⇒ Object



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

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