Sha256: 2d6abfd1160c6c586fa5449374d54d4c18266c2fcce67767dd58652255724015
Contents?: true
Size: 488 Bytes
Versions: 199
Compression:
Stored size: 488 Bytes
Contents
module CassandraObject module Schema # MigrationProxy is used to defer loading of the actual migration classes # until they are needed class MigrationProxy attr_accessor :name, :version, :filename delegate :migrate, :announce, :write, :to=>:migration private def migration @migration ||= load_migration end def load_migration require(File.expand_path(filename)) name.constantize end end end end
Version data entries
199 entries across 199 versions & 2 rubygems