lib/dap/breakpoint_location.rb in ruby-dap-0.1.2 vs lib/dap/breakpoint_location.rb in ruby-dap-0.1.3
- old
+ new
@@ -1,13 +1,15 @@
+# Properties of a breakpoint location returned from the ‘breakpointLocations’
+# request.
class DAP::BreakpointLocation < DAP::Base
# Start line of breakpoint location.
- property :line
+ property :line, as: 'number'
# Optional start column of breakpoint location.
- property :column, required: false
+ property :column, required: false, as: 'number'
# Optional end line of breakpoint location if the location covers a range.
- property :endLine, required: false
+ property :endLine, required: false, as: 'number'
# Optional end column of breakpoint location if the location covers a range.
- property :endColumn, required: false
+ property :endColumn, required: false, as: 'number'
end