Module: FunFX
- Defined in:
- lib/funfx.rb,
lib/funfx/decoder.rb,
lib/funfx/version.rb,
lib/funfx/meta/parser.rb,
lib/funfx/flex/element.rb,
lib/funfx/flex/elements.rb,
lib/funfx/meta/generator.rb,
lib/funfx/flex/flex_app_id.rb,
lib/funfx/flex/tabular_data.rb,
lib/funfx/browser/flex_app_lookup.rb
Defined Under Namespace
Modules: Browser, Flex, Meta, VERSION Classes: Decoder, Table
Class Method Summary collapse
-
.debug(s) ⇒ Object
Prints debug information (if debug is on - it’s off by default).
-
.debug=(b) ⇒ Object
Turn on debug information.
-
.fire_pause ⇒ Object
How many seconds to sleep after an event is fired.
-
.fire_pause=(t) ⇒ Object
Set how many seconds to sleep after an event is fired.
Class Method Details
.debug(s) ⇒ Object
Prints debug information (if debug is on - it’s off by default)
18 19 20 21 22 |
# File 'lib/funfx.rb', line 18 def debug(s) if @debug puts s end end |
.debug=(b) ⇒ Object
Turn on debug information
13 14 15 |
# File 'lib/funfx.rb', line 13 def debug=(b) @debug = b end |
.fire_pause ⇒ Object
How many seconds to sleep after an event is fired. Defaults to 2 seconds.
30 31 32 |
# File 'lib/funfx.rb', line 30 def fire_pause @fire_pause || 2 end |
.fire_pause=(t) ⇒ Object
Set how many seconds to sleep after an event is fired.
25 26 27 |
# File 'lib/funfx.rb', line 25 def fire_pause=(t) @fire_pause = t end |