Method: Wedge::HTML::DSL.scope!

Defined in:
lib/wedge/html.rb

.scope!(scope) ⇒ Object



92
93
94
95
96
# File 'lib/wedge/html.rb', line 92

def scope! scope
  klass = Class.new(self)
  klass.instance_variable_set(:@scope, scope)
  klass
end