Class: Watobo::Gui::Filter
- Inherits:
-
Object
- Object
- Watobo::Gui::Filter
- Defined in:
- lib/watobo/gui/fuzzer_gui.rb
Instance Attribute Summary collapse
-
#filter_type ⇒ Object
readonly
Returns the value of attribute filter_type.
-
#func ⇒ Object
readonly
Returns the value of attribute func.
-
#info ⇒ Object
readonly
Returns the value of attribute info.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(filter_proc, prefs) ⇒ Filter
constructor
A new instance of Filter.
- #is_filter? ⇒ Boolean
Constructor Details
#initialize(filter_proc, prefs) ⇒ Filter
Returns a new instance of Filter.
357 358 359 360 361 362 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 357 def initialize(filter_proc, prefs) @filter_type = prefs[:filter_type] || "undefined" @value = prefs[:value] || "undefined" @func = filter_proc @info = prefs[:info] || "undefined" end |
Instance Attribute Details
#filter_type ⇒ Object (readonly)
Returns the value of attribute filter_type.
349 350 351 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 349 def filter_type @filter_type end |
#func ⇒ Object (readonly)
Returns the value of attribute func.
348 349 350 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 348 def func @func end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
351 352 353 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 351 def info @info end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
350 351 352 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 350 def value @value end |
Instance Method Details
#is_filter? ⇒ Boolean
353 354 355 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 353 def is_filter? true end |