Sha256: 2d43d82236fa4ed5bdfc38e584834dee8bbedd7e22c34b0e0fd5710d6f8d185b

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

module AttributeExtras

  # a container for an attribute that has been modified
  class Modifier

    # the attribute this modifier represents
    attr_reader :attribute

    # the set of options generated for this attribute
    attr_reader :options

    # store the given options
    def initialize(attribute, options = {})
      @attribute = attribute
      @options = options
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attribute_extras-0.1.6 lib/attribute_extras/modifier.rb
attribute_extras-0.1.5 lib/attribute_extras/modifier.rb
attribute_extras-0.1.4 lib/attribute_extras/modifier.rb
attribute_extras-0.1.3 lib/attribute_extras/modifier.rb