Class: Typekit::Processing::Converter::Unknown
- Inherits:
-
Object
- Object
- Typekit::Processing::Converter::Unknown
- Defined in:
- lib/typekit/processing/converter/unknown.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Unknown
constructor
A new instance of Unknown.
- #process(response, object) ⇒ Object
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 |