Sha256: 934c1dc646e35aefbbb58041d7b096b51fab4193316ed5b0d494bd374cf91cef

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

require "bootstrap/component_loader"
require "bootstrap/component"

class Bootstrap
  include Delegate
  extend ComponentLoader
  load_components

  attr_reader :context

  def initialize context=nil
    @context = context
  end

  def render *args, &block
    instance_exec(*args, &block)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.11.7 lib/bootstrap.rb
card-mod-bootstrap-0.11.6 lib/bootstrap.rb
card-mod-bootstrap-0.11.5 lib/bootstrap.rb