Skip to content

Commit d2597e3

Browse files
committed
Use more end-less methods.
1 parent eb1c75d commit d2597e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/ronin/asm/x86_64.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,19 +163,19 @@ def rbp = Registers::RBP
163163
#
164164
# @see rbp
165165
#
166-
def stack_base; Registers::RBP; end
166+
def stack_base = Registers::RBP
167167

168168
#
169169
# The Stack Pointer register.
170170
#
171171
# @see rsp
172172
#
173-
def stack_pointer; Registers::RSP; end
173+
def stack_pointer = Registers::RSP
174174

175175
#
176176
# Generates the instruction to invoke a syscall.
177177
#
178-
def syscall; instruction(:syscall); end
178+
def syscall = instruction(:syscall)
179179
end
180180
end
181181
end

0 commit comments

Comments
 (0)