Sha256: d907c2853df356ead29b035ccf9042cffac0abd034b8055bec9e29fa48d43420

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

EncodingKawai - little sintax sugar for ruby force_encoding, also working on 1.8.7.

    gem 'encoding-kawai'

```ruby    
str._utf8 # str.respond_to?(:force_encoding) ? str.force_encoding('utf-8') : str
str._binary # str.respond_to?(:force_encoding) ? str.force_encoding('binary') : str
```

Extend object.
```ruby
require 'encoding-kawai/object'

[str1, str2]._utf8
{str1 => str2}._utf8
...
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
encoding-kawai-0.2 README.md
encoding-kawai-0.1 README.md