Sha256: 5ce5698a41e867caaf973e9135fc1cee4ace9014d27740398093cf84ac587bd9

Contents?: true

Size: 301 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
card-1.20.4 mod/bootstrap/lib/bootstrapper.rb
card-1.20.3 mod/bootstrap/lib/bootstrapper.rb
card-1.20.2 mod/bootstrap/lib/bootstrapper.rb
card-1.20.1 mod/bootstrap/lib/bootstrapper.rb
card-1.20.0 mod/bootstrap/lib/bootstrapper.rb