transformations according to todays post

This commit is contained in:
Torsten Ruger
2014-06-14 00:19:12 +03:00
parent 12a92e4db0
commit 2c26415de7
12 changed files with 138 additions and 127 deletions

7
lib/parfait/README.md Normal file
View File

@ -0,0 +1,7 @@
### A thin layer
Here we have a placeholder for things i am currently developing.
Basically Parfait is the smallest amount of code needed to make a ruby-like OO system work.
A work in progress that started from here : http://ruby-in-ruby.github.io/2014/06/10/more-clarity.html

16
lib/parfait/array.rb Normal file
View File

@ -0,0 +1,16 @@
# this is not a "normal" ruby file, ie it is not required by crystal
# instead it is parsed by crystal to define part of the crystal that runs
class Array < BaseObject
def initialize size
end
def at(index)
end
def set(index , value)
end
end