Method: Virtus::Builder#initialize
- Defined in:
- lib/virtus/builder.rb
#initialize(conf, mod = Module.new) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initializes a new Builder
44 45 46 47 48 |
# File 'lib/virtus/builder.rb', line 44 def initialize(conf, mod = Module.new) @config, @mod = conf, mod add_included_hook add_extended_hook end |