Sha256: 14e69b8be39c0fc4424ee38b601b8a41aee98db3c0e0545808386375fc0a76e2

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

module Attachy
  module FormBuilder
    def attachy(method, options = {}, &block)
      @template.attachy method, object, options, block
    end

    def attachy_content(method, options = {}, &block)
      @template.attachy_content method, object, options, block
    end

    def attachy_file_field(method, options = {})
      @template.attachy_file_field method, object, options
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attachy-0.4.1 lib/attachy/builders/attachy/form_builder.rb
attachy-0.4.0 lib/attachy/builders/attachy/form_builder.rb
attachy-0.3.0 lib/attachy/builders/attachy/form_builder.rb
attachy-0.2.0 lib/attachy/builders/attachy/form_builder.rb