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