barsoom/attr_extras — pull request #6 by bartoszkopinski (2014-11-03 02:11:15+00:00)
Title: Adding optional attributes

Adding optional attributes:
```ruby
class Klass
pattr_initialize :foo, bar: "default value"
end

Klass.new("Foo").send(:bar) # => "default value"
```