Class: Corkscrews::FirefoxProfile
- Inherits:
-
Object
- Object
- Corkscrews::FirefoxProfile
- Defined in:
- lib/corkscrews/firefox_profile.rb
Constant Summary collapse
- MAX_SYNTHETIC_SAMPLES =
10_000
Class Method Summary collapse
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(aggregate) ⇒ FirefoxProfile
constructor
A new instance of FirefoxProfile.
Constructor Details
#initialize(aggregate) ⇒ FirefoxProfile
Returns a new instance of FirefoxProfile.
13 14 15 16 17 |
# File 'lib/corkscrews/firefox_profile.rb', line 13 def initialize(aggregate) @aggregate = aggregate @strings = [] @string_indexes = {} end |
Class Method Details
.build(aggregate) ⇒ Object
8 9 10 |
# File 'lib/corkscrews/firefox_profile.rb', line 8 def build(aggregate) new(aggregate).build end |
Instance Method Details
#build ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/corkscrews/firefox_profile.rb', line 19 def build thread = build_thread { "meta" => , "libs" => [], "pages" => [], "profileGatheringLog" => [], "threads" => [thread] } end |