module Cell::Twin
Public Class Methods
included(base)
click to toggle source
# File lib/cell/twin.rb, line 5 def self.included(base) base.send :include, Disposable::Twin::Builder base.extend ClassMethods end
new(model, options={})
click to toggle source
Calls superclass method
# File lib/cell/twin.rb, line 16 def initialize(model, options={}) super(build_twin(model, options), controller: options.delete(:controller)) end