Method: BootstrapBaseHelper::List#add

Defined in:
app/helpers/bootstrap_base_helper.rb

#add(*args) ⇒ Object Also known as: <<



17
18
19
20
# File 'app/helpers/bootstrap_base_helper.rb', line 17

def add(*args)
  li_opts = args.extract_options!
  collection << {options: li_opts, content: args.join}
end