Sha256: c1340efeb4f943b923c3d35d2325f1670b5509d6d48d69b7e9a8aa6470bdc675
Contents?: true
Size: 462 Bytes
Versions: 6
Compression:
Stored size: 462 Bytes
Contents
module TwitterBootstrapBuilder module Builders class LinkButtonBuilder < Base def to_s link_button = block ? LinkButton.new(*options[:args], &Proc.new {}) : LinkButton.new(*options[:args]) link_button.send(options[:type]) if options[:type] link_button.send(options[:size]) if options[:size] link_button.append template.capture(self, &block) if block link_button.to_s end end end end
Version data entries
6 entries across 6 versions & 1 rubygems