module Makers
Constants
- VERSION
Public Class Methods
define(&block)
click to toggle source
# File lib/makers.rb, line 30 def define(&block) Proxy.new &block end
definitions()
click to toggle source
# File lib/makers.rb, line 14 def definitions @definitions ||= Definitions.new end
directory()
click to toggle source
# File lib/makers.rb, line 22 def directory if Dir.exist?(Rails.root.join('spec')) 'spec' else 'test' end end
traits()
click to toggle source
# File lib/makers.rb, line 18 def traits @traits ||= Traits.new end