Class: AAMVA::Utils
- Inherits:
-
Object
- Object
- AAMVA::Utils
- Defined in:
- lib/aamva/utils.rb
Class Method Summary collapse
Class Method Details
.truncate(value, options = {}) ⇒ Object
3 4 5 |
# File 'lib/aamva/utils.rb', line 3 def self.truncate(value, = {}) value[0....fetch('length', -1)] end |