Sha256: 23c32d9bd44541d2c9457cba7ccca41d4eaa1379021dc5634b40ee331760896a

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

module ScaffoldMarkup
  module Builders
    class BaseBuilder
      include TwitterBootstrapMarkup

      attr_reader :template
      attr_reader :block
      attr_reader :url

      def initialize(template, &block)
        @template = template
        @block = block
        @url = Helpers::UrlHelper.new(template)
      end

      def html_safe
        to_s.html_safe
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scaffold_markup-0.0.1 lib/scaffold_markup/builders/base_builder.rb