Class: Skim::Sections

Inherits:
Slim::Sections
  • Object
show all
Defined in:
lib/skim/sections.rb

Instance Method Summary collapse

Instance Method Details

#call(exp) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/skim/sections.rb', line 5

def call(exp)
  if options[:sections]
    compile(exp)
  else
    exp
  end
end