Sha256: 3e0d3d43fc7916d930827f104a785e01748456d3a6bafd5b88b8ff56ad7c644d

Contents?: true

Size: 193 Bytes

Versions: 7

Compression:

Stored size: 193 Bytes

Contents

module InlineTemplates
  class Builder
    def build(context, name, *args, &block)
      context.content_tag name, *args, &block
    end
 
    def can_build?(name)
      true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
inline_templates-1.0.0 lib/inline_templates/builder.rb
inline_templates-0.0.6 lib/inline_templates/builder.rb
inline_templates-0.0.5 lib/inline_templates/builder.rb
inline_templates-0.0.4 lib/inline_templates/builder.rb
inline_templates-0.0.3 lib/inline_templates/builder.rb
inline_templates-0.0.2 lib/inline_templates/builder.rb
inline_templates-0.0.1 lib/inline_templates/builder.rb