<commit_before># Initializer

The `initializer` library defines initializers that receive parameters and assign to attributes. It also defines the attributes, allowing the attribute visibility to be declared as well.

NOTE: Dependencies are linked locally in the development environment via the [`path_gem` library](https://github.com/Sans/path-gem). Development dependencies aren't installed by RubyGems.

## Usage

Include initializer and use the initializer macro to define the initializer method and attributes.

```ruby
class SomeItem
  include initializer

  initializer :name, :age, :address
end
```

The above usage would be the equivalent of:

```ruby
class SomeItem
  attr_accessor :name, :age, :address

  def initialize(name, age, address)
    @name = name<commit_msg>The note about the use of prox_gem in the readme is removed<commit_after># Initializer

The `initializer` library defines initializers that receive parameters and assign to attributes. It also defines the attributes, allowing the attribute visibility to be declared as well.

## Usage

Include initializer and use the initializer macro to define the initializer method and attributes.

```ruby
class SomeItem
  include initializer

  initializer :name, :age, :address
end
```

The above usage would be the equivalent of:

```ruby
class SomeItem
  attr_accessor :name, :age, :address

  def initialize(name, age, address)
    @name = name
{'fraction_non_alphanumeric': 0.06563161609033169, 'fraction_numerical': 0.0, 'mean_word_length': 4.957983193277311, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1608776', 'n_tokens_mistral': 378, 'n_tokens_neox': 357, 'n_words': 177}