class Property::Schema
A schema contains all the property definitions for a given class. If Role
is a module, then schema is a Class.
Public Class Methods
new(name, opts = {})
click to toggle source
Initialize a new schema with a name and the klass linked to the schema.
Calls superclass method
Property::Role::new
# File lib/property/schema.rb, line 8 def initialize(name, opts = {}) super initialize_schema_module(opts) end