Class: Puppeteer::ConsoleMessage
- Inherits:
-
Object
- Object
- Puppeteer::ConsoleMessage
- Defined in:
- lib/puppeteer/console_message.rb
Defined Under Namespace
Classes: Location
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#log_type ⇒ Object
readonly
Returns the value of attribute log_type.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(log_type, text, args, stack_trace_locations) ⇒ ConsoleMessage
constructor
A new instance of ConsoleMessage.
- #location ⇒ Location
- #stack_trace ⇒ Array<Location>
Constructor Details
#initialize(log_type, text, args, stack_trace_locations) ⇒ ConsoleMessage
Returns a new instance of ConsoleMessage.
16 17 18 19 20 21 |
# File 'lib/puppeteer/console_message.rb', line 16 def initialize(log_type, text, args, stack_trace_locations) @log_type = log_type @text = text @args = args @stack_trace_locations = stack_trace_locations end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
23 24 25 |
# File 'lib/puppeteer/console_message.rb', line 23 def args @args end |
#log_type ⇒ Object (readonly)
Returns the value of attribute log_type.
23 24 25 |
# File 'lib/puppeteer/console_message.rb', line 23 def log_type @log_type end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
23 24 25 |
# File 'lib/puppeteer/console_message.rb', line 23 def text @text end |