module Loom::Pattern::DSL
Attributes
dsl_builder[R]
Public Class Methods
extended(receiving_mod)
click to toggle source
# File lib/loom/pattern/dsl.rb, line 325 def extended(receiving_mod) # NB: Using Forwardable was awkward here due to the scope of extended, and # the scope of where the fordwardable instance variable would live. dsl_builder = PatternBuilder.new receiving_mod.instance_variable_set :@dsl_builder, dsl_builder end