Sha256: d04cb0be8ec563e73e822f0473ba16e54cdca1badbd6d3648a9bc943f43c20c9

Contents?: true

Size: 277 Bytes

Versions: 12

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

module IIFinder
  class Parameter
    attr_accessor :name
    attr_accessor :options

    def initialize(name, options = {})
      @name = name
      @options = options
    end

    def allow_blank?
      @options[:allow_blank]
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ii_finder-2.3.0 lib/ii_finder/parameter.rb
ii_finder-2.2.2 lib/ii_finder/parameter.rb
ii_finder-2.2.1 lib/ii_finder/parameter.rb
ii_finder-2.2.0 lib/ii_finder/parameter.rb
ii_finder-2.1.0 lib/ii_finder/parameter.rb
ii_finder-2.0.1 lib/ii_finder/parameter.rb
ii_finder-2.0.0 lib/ii_finder/parameter.rb
ii_finder-1.2.0 lib/ii_finder/parameter.rb
ii_finder-1.1.2 lib/ii_finder/parameter.rb
ii_finder-1.1.1 lib/ii_finder/parameter.rb
ii_finder-1.1.0 lib/ii_finder/parameter.rb
ii_finder-1.0.0 lib/ii_finder/parameter.rb