Sha256: d23d3ab22a4173bcd7f5eb16be63cace80976be61bda61427518ef42be4f01bd

Contents?: true

Size: 234 Bytes

Versions: 1

Compression:

Stored size: 234 Bytes

Contents

module AngularSprinkles
  class FormBinder
    def self.new(args)
      helper = args.fetch(:helper)

      case helper
      when :check_box
        CheckBox.new(args)
      else
        Default.new(args)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angular_sprinkles-0.2.0 lib/angular_sprinkles/form_binder.rb