Class: Capybara::Poltergeist::Command
- Inherits:
-
Object
- Object
- Capybara::Poltergeist::Command
- Defined in:
- lib/capybara/poltergeist/command.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(name, *args) ⇒ Command
constructor
A new instance of Command.
- #message ⇒ Object
Constructor Details
#initialize(name, *args) ⇒ Command
Returns a new instance of Command.
7 8 9 10 11 |
# File 'lib/capybara/poltergeist/command.rb', line 7 def initialize(name, *args) @id = SecureRandom.uuid @name = name @args = args end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/capybara/poltergeist/command.rb', line 5 def id @id end |