Module: JayZ

Defined in:
lib/jay_z.rb,
lib/jay_z/ghost.rb,
lib/jay_z/railtie.rb,
lib/jay_z/version.rb,
lib/jay_z/blueprint.rb,
lib/jay_z/serial_number.rb,
lib/generators/jay_z/model/model_generator.rb,
lib/generators/jay_z/install/install_generator.rb,
lib/generators/jay_z/install/templates/blueprint.rb

Defined Under Namespace

Modules: ActiveRecord, Generators Classes: Blueprint, Ghost, Railtie, SerialNumber

Constant Summary collapse

VERSION =
"0.3.3"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.Blueprint(jayz_module) ⇒ Object



6
7
8
9
10
# File 'lib/jay_z.rb', line 6

def self.Blueprint(jayz_module)
  Class.new(Blueprint) do
    include jayz_module
  end
end

Instance Method Details

#make(*args) ⇒ Object



12
13
14
# File 'lib/jay_z.rb', line 12

def make(*args)
  JayZ.const_get(name).make(*args)
end