Sha256: a60f8a32f2ecb9f778c10fc21e06f0d6f9acc5449ed90d2997804f8cadce0777
Contents?: true
Size: 426 Bytes
Versions: 6
Compression:
Stored size: 426 Bytes
Contents
# frozen_string_literal: true require 'tramway/profiles/engine' require 'tramway/profiles/generates/install_generator' module Tramway module Profiles class << self def records=(models) @@records ||= [] @@records += (models.map do |model| model.to_s.sub(/^\:\:/, '') end) end def records defined?(@@records) ? @@records.uniq : [] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems