Sha256: 03cdc7010bde883f2d2a12d7814aeed3a35b47d390e65ac9fb012d91d7e6f57c

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

module WeBridge
  module HtmlBuilder
    class Handler
      def self.default_extension() :builder; end
      class << self
        attr_accessor :default_format
      end
      self.default_format = :html
      def self.call(template)
        template.source
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
we_bridge-html_builder-0.1.7 lib/we_bridge/html_builder/handler.rb
we_bridge-html_builder-0.1.6 lib/we_bridge/html_builder/handler.rb
we_bridge-html_builder-0.1.5 lib/we_bridge/html_builder/handler.rb
we_bridge-html_builder-0.1.4 lib/we_bridge/html_builder/handler.rb
we_bridge-html_builder-0.1.0 lib/we_bridge/html_builder/handler.rb