module Engine2::MemoryModel

def define_dummy_model end

Public Class Methods

extended(cls) click to toggle source
# File lib/engine2/model.rb, line 198
def self.extended cls
    cls.extend Engine2::Model
    cls.class_eval do
        def save
        end
    end

    def cls.type_info &blk
        if blk
            super(&blk)
            @columns = @type_info.keys
            nil
        else
            @type_info
        end
    end

end

Public Instance Methods

save() click to toggle source
# File lib/engine2/model.rb, line 201
def save
end