Class: XTeamSchedule::Schema

Inherits:
Object
  • Object
show all
Defined in:
lib/xteam_schedule/facilitation/schema.rb

Class Method Summary collapse

Class Method Details

.define(&block) ⇒ Object



3
4
5
# File 'lib/xteam_schedule/facilitation/schema.rb', line 3

def self.define(&block)
  instance_eval(&block)
end

.method_missing(method, *args, &block) ⇒ Object



7
8
9
# File 'lib/xteam_schedule/facilitation/schema.rb', line 7

def self.method_missing(method, *args, &block)
  XTeamSchedule::Base.connection.send(method, *args, &block)
end