module Poro::Persistify::ClassMethods

Public Instance Methods

configure_context(&configuration_block) click to toggle source

A convenience method to more easily call Context.configure_for_class from within a class decleration.

This was added to ease the transition from existing model based ORMs, and is up for debate. It may be better to directly use Context.configure_for_class.

# File lib/poro/persistify.rb, line 35
def configure_context(&configuration_block)
  return Context.configure_for_class(self, &configuration_block)
end