Class: AAMVA::Factory
- Inherits:
-
Object
- Object
- AAMVA::Factory
- Defined in:
- lib/aamva/factory.rb
Class Method Summary collapse
Class Method Details
.build(type, options = {}) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/aamva/factory.rb', line 5 def self.build(type, = {}) if respond_to?(type) send(type, ) else raise "Unsupported Factory Type: #{type}" end end |