Module: Card::Bootstrapper

Extended by:
Card::Bootstrap::ComponentLoader
Defined in:
lib/card/bootstrapper.rb

Overview

shared methods for bootstrapping in card formats and act renderers

Instance Method Summary collapse

Methods included from Card::Bootstrap::ComponentLoader

components, include_component, load_components, to_const

Instance Method Details

#bootstrapObject



6
7
8
# File 'lib/card/bootstrapper.rb', line 6

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

#bsObject



10
11
12
# File 'lib/card/bootstrapper.rb', line 10

def bs(...)
  bootstrap.render(...)
end