<commit_before># Attribeautiful

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'attribeautiful'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install attribeautiful

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
<commit_msg>added usage and overview<commit_after># Attribeautiful

Dynamically-generated HTML element attribute management methods.
Easily add attributes to an element, or content to an attribute value.

## Installation

Add this line to your application's Gemfile:

    gem 'attribeautiful'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install attribeautiful

## Usage

```ruby
class SectionBlock
  include Attribeautiful

  html_element :header
  html_element :body

  def initialize
    yield self if block_given?
    self
  end
end

sb = SectionBlock.new do |sb|
  sb.header_class_add "important", "slick"

  sb.header_custom_one_add "do-something"
  sb.header_custom_two_add "do-something-else"
  sb.header_custom_two_use_underscores

  sb.body_id_add      "specific-section-id"
  sb.body_style_add   "float:left", "color:blue"
  sb.body_style_add   "position:relative"
  sb.body_style_use_semicolons
end

puts "header[class]:      #{sb.header_class_attr}"
puts "header[custom-one]: #{sb.header_custom_one_attr}"
puts "header[custom_two]: #{sb.header_custom_two_attr}"
puts "-----"
puts "body[id]:    #{sb.body_id_attr}"
puts "body[class]: #{sb.body_class_attr}"
puts "body[style]: #{sb.body_style_attr}"
```
will output:

>header[class]:      class="important slick"
>header[custom-one]: custom-one="do-something"
>header[custom_two]: custom_two="do-something-else"
>-----
>body[id]:    id="specific-section-id"
>body[class]: 
>body[style]: style="float:left;color:blue;position:relative"

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

{'fraction_non_alphanumeric': 0.11265767725097868, 'fraction_numerical': 0.004349717268377556, 'mean_word_length': 4.476190476190476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2027930', 'n_tokens_mistral': 777, 'n_tokens_neox': 742, 'n_words': 227}