Module: Card::Bootstrapper

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

Instance Method Summary collapse

Methods included from Card::Bootstrap::ComponentLoader

components, include_component, load_components, to_const

Instance Method Details

#bootstrapObject



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

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

#bs(*args, &block) ⇒ Object



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

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