fix the init also, was using first message twice
not advancing after first load
This commit is contained in:
@ -2,7 +2,7 @@ module Risc
|
||||
|
||||
class Builder
|
||||
|
||||
attr_reader :built
|
||||
attr_reader :built , :compiler
|
||||
|
||||
def initialize(compiler)
|
||||
@compiler = compiler
|
||||
@ -75,7 +75,7 @@ module Risc
|
||||
when Parfait::Object
|
||||
type = Parfait.object_space.get_class_by_name( object.class.name.split("::").last.to_sym).instance_type
|
||||
when Symbol
|
||||
object = object.camelize
|
||||
object = object.to_s.camelize.to_sym
|
||||
clazz = Parfait.object_space.get_class_by_name(object)
|
||||
raise "Not implemented/found object #{object}:#{object.class}" unless clazz
|
||||
type = clazz.instance_type
|
||||
|
Reference in New Issue
Block a user