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.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#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, location) ⇒ ConsoleMessage
constructor
A new instance of ConsoleMessage.
Constructor Details
#initialize(log_type, text, args, location) ⇒ 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, location) @log_type = log_type @text = text @args = args @location = location 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 |
#location ⇒ Object (readonly)
Returns the value of attribute location.
23 24 25 |
# File 'lib/puppeteer/console_message.rb', line 23 def location @location 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 |