shortening some methods, removing object prefix
This commit is contained in:
@ -20,7 +20,7 @@ module Parfait
|
||||
attribute :next_frame
|
||||
|
||||
def self.offset
|
||||
1 + Space.object_space.get_class_by_name(:Frame).object_layout.object_instance_length
|
||||
1 + Space.object_space.get_class_by_name(:Frame).object_layout.instance_length
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -30,7 +30,7 @@ module Parfait
|
||||
end
|
||||
|
||||
def self.offset
|
||||
1 + Space.object_space.get_class_by_name(:Message).object_layout.object_instance_length
|
||||
1 + Space.object_space.get_class_by_name(:Message).object_layout.instance_length
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -73,7 +73,7 @@ module Parfait
|
||||
end
|
||||
|
||||
def get_instance_variables
|
||||
get_layout().object_instance_names
|
||||
get_layout().instance_names
|
||||
end
|
||||
|
||||
def get_instance_variable name
|
||||
|
Reference in New Issue
Block a user