Module: Bobkit::SlimOptions

Included in:
Bobkit::SlimBridge::SlimHandler, Tasks
Defined in:
lib/bobkit/slim_options.rb

Instance Method Summary collapse

Instance Method Details

#slim_defaultsObject



7
8
9
# File 'lib/bobkit/slim_options.rb', line 7

def slim_defaults
  { pretty: true, disable_escape: true }
end

#slim_options(options = nil) ⇒ Object



3
4
5
# File 'lib/bobkit/slim_options.rb', line 3

def slim_options(options = nil)
  setopt :slim_options, options, slim_defaults
end