Module: L

Extended by:
Schema
Defined in:
lib/lammy.rb,
lib/lammy/schema.rb

Defined Under Namespace

Modules: ClassMethods, Schema

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Schema

assistant, formatted?, system, to_a, to_h, user

Class Method Details

.included(base) ⇒ Object



31
32
33
# File 'lib/lammy.rb', line 31

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#_lammy_perform_now(&block) ⇒ Object



35
36
37
38
39
# File 'lib/lammy.rb', line 35

def _lammy_perform_now(&block)
  @_with_sync_lammy = true
  block.call
  @_with_sync_lammy = false
end