Sha256: 505c87477640164b0a4b2b61455f83cd9e1059fa74613ed3085f50a489165d05

Contents?: true

Size: 301 Bytes

Versions: 53

Compression:

Stored size: 301 Bytes

Contents

require "bootstrap"
module Bootstrapper
  extend Bootstrap::ComponentLoader

  def bootstrap
    @bootstrap ||= ::Bootstrap.new(self)
  end

  def bs *args, &block
    bootstrap.render *args, &block
  end

  components.each do |component|
    delegate component, to: :bootstrap, prefix: :bs
  end
end

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
card-mod-bootstrap-0.11.4 lib/bootstrapper.rb
card-mod-bootstrap-0.11.3 lib/bootstrapper.rb
card-mod-bootstrap-0.11.2 lib/bootstrapper.rb
card-mod-bootstrap-0.11.1 lib/bootstrapper.rb
card-mod-bootstrap-0.11.0 lib/bootstrapper.rb
card-1.100.0 mod/bootstrap/lib/bootstrapper.rb
card-1.99.6 mod/bootstrap/lib/bootstrapper.rb
card-1.99.5 mod/bootstrap/lib/bootstrapper.rb
card-1.99.4 mod/bootstrap/lib/bootstrapper.rb
card-1.99.3 mod/bootstrap/lib/bootstrapper.rb
card-1.99.2 mod/bootstrap/lib/bootstrapper.rb
card-1.99.1 mod/bootstrap/lib/bootstrapper.rb
card-1.99.0 mod/bootstrap/lib/bootstrapper.rb
card-1.98.3 mod/bootstrap/lib/bootstrapper.rb
card-1.98.2 mod/bootstrap/lib/bootstrapper.rb
card-1.98.1 mod/bootstrap/lib/bootstrapper.rb
card-1.98.0 mod/bootstrap/lib/bootstrapper.rb
card-1.97.0.1 mod/bootstrap/lib/bootstrapper.rb
card-1.97.0 mod/bootstrap/lib/bootstrapper.rb
card-1.96.8 mod/bootstrap/lib/bootstrapper.rb