Module: Cline::GlobalState::Browser

Included in:
Cline::GlobalState
Defined in:
lib/cline/global_state/browser.rb

Overview

Browser integration and viewport settings

Defined Under Namespace

Classes: BrowserSettings

Public API collapse

Class Method Details

.included(base) ⇒ Object

Define all the attributes of the included class

Parameters:

  • base (Class)

    Base class including this mixin



42
43
44
45
46
47
48
49
# File 'lib/cline/global_state/browser.rb', line 42

def self.included(base)
  base.class_eval do
    # @!group Public API

    # @return [BrowserSettings] Browser configuration settings
    attribute :browser_settings, BrowserSettings
  end
end