Sha256: 270efba285896bd3ec2748aaf3246b3ff5eb56f7a07729c3571ffbb165bdb6ee

Contents?: true

Size: 319 Bytes

Versions: 22

Compression:

Stored size: 319 Bytes

Contents

class Card
  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
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 lib/card/bootstrapper.rb
card-mod-bootstrap-0.18.0 lib/card/bootstrapper.rb
card-mod-bootstrap-0.17.0 lib/card/bootstrapper.rb
card-mod-bootstrap-0.16.0 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.6 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.5 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.4 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.3 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.1.2 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.2.pre1 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.1.1 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.1 lib/card/bootstrapper.rb
card-mod-bootstrap-0.15.0 lib/card/bootstrapper.rb
card-mod-bootstrap-0.14.2 lib/card/bootstrapper.rb
card-mod-bootstrap-0.14.1 lib/card/bootstrapper.rb
card-mod-bootstrap-0.14.0 lib/card/bootstrapper.rb
card-mod-bootstrap-0.13.4 lib/card/bootstrapper.rb
card-mod-bootstrap-0.13.3 lib/card/bootstrapper.rb
card-mod-bootstrap-0.13.2 lib/card/bootstrapper.rb
card-mod-bootstrap-0.13.1 lib/card/bootstrapper.rb