start on call implementation, getting separation issues
This commit is contained in:
@ -31,6 +31,7 @@ module Boot
|
||||
|
||||
def run_passes
|
||||
@passes.each do |pass|
|
||||
puts "Runnning pass #{pass}"
|
||||
all = main.blocks
|
||||
@classes.each_value do |c|
|
||||
c.method_definitions.each {|f| all += f.blocks }
|
||||
@ -55,12 +56,6 @@ module Boot
|
||||
raise "No such pass to add after: #{after}" unless index
|
||||
@passes.insert(index , pass)
|
||||
end
|
||||
|
||||
def add_pass_after( pass , after)
|
||||
index = @passes.index(after)
|
||||
raise "No such pass to add after: #{after}" unless index
|
||||
@passes.insert(index , pass)
|
||||
end
|
||||
# boot the classes, ie create a minimal set of classes with a minimal set of functions
|
||||
# minimal means only that which can not be coded in ruby
|
||||
# MethodDefinitions are grabbed from respective modules by sending the method name. This should return the
|
||||
|
Reference in New Issue
Block a user