Class: Bidi2pdf::Bidi::Commands::BrowsingContextClose
- Inherits:
-
Object
- Object
- Bidi2pdf::Bidi::Commands::BrowsingContextClose
- Includes:
- Base
- Defined in:
- lib/bidi2pdf/bidi/commands/browsing_context_close.rb
Instance Method Summary collapse
-
#initialize(context:) ⇒ BrowsingContextClose
constructor
A new instance of BrowsingContextClose.
- #method_name ⇒ Object
- #params ⇒ Object
Methods included from Base
#==, #as_payload, #eql?, #hash, #inspect
Constructor Details
#initialize(context:) ⇒ BrowsingContextClose
Returns a new instance of BrowsingContextClose.
9 10 11 |
# File 'lib/bidi2pdf/bidi/commands/browsing_context_close.rb', line 9 def initialize(context:) @context = context end |
Instance Method Details
#method_name ⇒ Object
19 20 21 |
# File 'lib/bidi2pdf/bidi/commands/browsing_context_close.rb', line 19 def method_name "browsingContext.close" end |
#params ⇒ Object
13 14 15 16 17 |
# File 'lib/bidi2pdf/bidi/commands/browsing_context_close.rb', line 13 def params { context: @context } end |