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.
335 336 337 338 339 340 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 335 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.
327 328 329 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 327 def filter_type @filter_type end |
#func ⇒ Object (readonly)
Returns the value of attribute func.
326 327 328 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 326 def func @func end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
329 330 331 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 329 def info @info end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
328 329 330 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 328 def value @value end |
Instance Method Details
#is_filter? ⇒ Boolean
331 332 333 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 331 def is_filter? true end |