Module: Tufte::Binding

Defined in:
lib/tufte/binding.rb

Defined Under Namespace

Classes: BindingFactory

Class Method Summary collapse

Class Method Details

.new(instance_variables:, mod:) ⇒ Object



3
4
5
6
7
8
# File 'lib/tufte/binding.rb', line 3

def self.new(instance_variables:, mod:)
  BindingFactory.new(
    instance_variables: instance_variables,
    mod: mod,
  ).get_binding
end