module Haml::Helpers

def with_tabs(i)

Other tags:
    Yield: - A block in which the indentation will be `i` spaces

Parameters:
  • i (Fixnum) -- The number of tabs to use
def with_tabs(i)
  old_tabs = haml_buffer.tabulation
  haml_buffer.tabulation = i
  yield
ensure
  haml_buffer.tabulation = old_tabs
end