Method: Liquify.setup

Defined in:
lib/liquify.rb

.setup {|_self| ... } ⇒ Object

setup - This method allows you to register tags, drops and filters. to Liquify in one place.

Liquify.setup do |config|
  ...
end

Yields:

  • (_self)

Yield Parameters:

  • _self (Liquify)

    the object that the method was called on



24
25
26
# File 'lib/liquify.rb', line 24

def setup
  yield self
end