Module: SuperInteraction::BootstrapHelper

Defined in:
lib/super_interaction/bootstrap_helper.rb

Instance Method Summary collapse

Instance Method Details

#js {|i| ... } ⇒ Object

Yields:

  • (i)


3
4
5
6
7
# File 'lib/super_interaction/bootstrap_helper.rb', line 3

def js(&block)
  i = Bootstrap.new(self)
  yield(i) if block_given?
  i
end