decko-commons/decko

View on GitHub
mod/bootstrap/lib/card/bootstrap.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class Card
  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
end