iconara/immutable_struct — pull request #1 by bencates (2012-12-20 04:30:10+00:00)
Title: Adds ability to pass a block as a class body

Allows you to write code like this

```ruby
Foo = ImmutableStruct(:name) do
def hello
puts "Hello, #{name}!"
end
end

Foo.new('world').hello #=> Hello, world!