module DataModeler
Main gem module
Main gem module
Constants
- VERSION
Version number
Public Class Methods
id_from(filename)
click to toggle source
Returns a standardized String ID from a (sequentially named) file @return [String] @note convenient method to have available in the config
# File lib/data_modeler/helper.rb, line 10 def self.id_from filename format "%02d", Integer(filename[/_(\d+).rb$/,1]) end