class Infrastructure
Constants
- VERSION
Public Instance Methods
build(key, model, *params)
click to toggle source
# File lib/infrastructure.rb, line 20 def build(key, model, *params) model = model.constantize if model.is_a? String assign key, model.new(*params) end