Sha256: 01bfb2ca7e6cc86d054ac74937e32a6de7b72615de0f9d2f9112dcdd2864b502

Contents?: true

Size: 311 Bytes

Versions: 7

Compression:

Stored size: 311 Bytes

Contents

module UseCaseValidations
  module Validations

    module HelperMethods

      def _merge_attributes(attr_names)
        options = Helpers._symbolyze_keys(Helpers._extract_options!(attr_names))
        attr_names.flatten!
        options[:attributes] = attr_names
        options
      end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
usecasing_validations-0.7.0 lib/usecasing_validations/validations/helper_methods.rb
usecasing_validations-0.6.0 lib/usecasing_validations/validations/helper_methods.rb
usecasing_validations-0.5.5 lib/usecasing_validations/validations/helper_methods.rb
usecasing_validations-0.5.4 lib/usecasing_validations/validations/helper_methods.rb
usecasing_validations-0.5.3 lib/usecasing_validations/validations/helper_methods.rb
usecasing_validations-0.5.1 lib/usecasing_validations/validations/helper_methods.rb
usecasing_validations-0.5.0 lib/usecasing_validations/validations/helper_methods.rb