transformations according to todays post
This commit is contained in:
7
lib/parfait/README.md
Normal file
7
lib/parfait/README.md
Normal 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
16
lib/parfait/array.rb
Normal 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
|
Reference in New Issue
Block a user