renames compiler to method_compiler
This commit is contained in:
@ -14,7 +14,7 @@ module Register
|
||||
|
||||
def compiler_for( type , method_name , extra_args = {})
|
||||
args = {:index => :Integer}.merge( extra_args )
|
||||
Typed::Compiler.new.create_method(type , method_name , args ).init_method
|
||||
Typed::MethodCompiler.new.create_method(type , method_name , args ).init_method
|
||||
end
|
||||
|
||||
# Load the value
|
||||
|
Reference in New Issue
Block a user