Module: Rewrite::With::ClassMethods

Defined in:
lib/rewrite/with.rb

Instance Method Summary collapse

Instance Method Details

#expand(*sexp_processors, &body) ⇒ Object



34
35
36
# File 'lib/rewrite/with.rb', line 34

def expand(*sexp_processors, &body)
  Rewrite::With.expand(sexp_processors, &body)
end

#with(*sexp_processors, &body) ⇒ Object



30
31
32
# File 'lib/rewrite/with.rb', line 30

def with(*sexp_processors, &body)
  Rewrite::With.with(sexp_processors, &body)
end