module WTOSC::TypeFetcher
Migration module Include in an ActiveRecord::Migration to use
Constants
- DEFAULT_TYPES
Public Class Methods
fetch(type)
click to toggle source
# File lib/migration_helper.rb, line 10 def self.fetch(type) DEFAULT_TYPES[type] || type end