Method: Zafu::Markup#set_id

Defined in:
lib/zafu/markup.rb

#set_id(erb_id) ⇒ Object

Define the DOM id from a node context



201
202
203
204
# File 'lib/zafu/markup.rb', line 201

def set_id(erb_id)
  params[:id] = nil
  dyn_params[:id] = erb_id
end