Class: Puppeteer::ConsoleMessage::Location
- Inherits:
-
Object
- Object
- Puppeteer::ConsoleMessage::Location
- Defined in:
- lib/puppeteer/console_message.rb
Instance Attribute Summary collapse
-
#column_number ⇒ Object
readonly
Returns the value of attribute column_number.
-
#line_number ⇒ Object
readonly
Returns the value of attribute line_number.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url:, line_number:, column_number: nil) ⇒ Location
constructor
A new instance of Location.
Constructor Details
#initialize(url:, line_number:, column_number: nil) ⇒ Location
Returns a new instance of Location.
3 4 5 6 7 |
# File 'lib/puppeteer/console_message.rb', line 3 def initialize(url:, line_number:, column_number: nil) @url = url @line_number = line_number @column_number = column_number end |
Instance Attribute Details
#column_number ⇒ Object (readonly)
Returns the value of attribute column_number.
9 10 11 |
# File 'lib/puppeteer/console_message.rb', line 9 def column_number @column_number end |
#line_number ⇒ Object (readonly)
Returns the value of attribute line_number.
9 10 11 |
# File 'lib/puppeteer/console_message.rb', line 9 def line_number @line_number end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
9 10 11 |
# File 'lib/puppeteer/console_message.rb', line 9 def url @url end |