module Fixturator
Constants
- VERSION
Public Class Methods
call(*args)
click to toggle source
# File lib/fixturator.rb, line 17 def call(*args) Generator.new(*args).call end
generate!() { |config| ... }
click to toggle source
# File lib/fixturator.rb, line 7 def generate! config = Configuration.load yield config if block_given? config.models.each do |model| puts "Generating fixtures for #{model.name}..." model.to_fixture end end
to_proc()
click to toggle source
# File lib/fixturator.rb, line 21 def to_proc method(:call) end