Class: Watobo::Gui::Action
- Inherits:
-
Object
- Object
- Watobo::Gui::Action
- Defined in:
- lib/watobo/gui/fuzzer_gui.rb
Instance Attribute Summary collapse
-
#action_type ⇒ Object
readonly
Returns the value of attribute action_type.
-
#func ⇒ Object
readonly
Returns the value of attribute func.
-
#info ⇒ Object
readonly
Returns the value of attribute info.
Instance Method Summary collapse
-
#initialize(action_proc, prefs) ⇒ Action
constructor
A new instance of Action.
- #is_action? ⇒ Boolean
Constructor Details
#initialize(action_proc, prefs) ⇒ Action
Returns a new instance of Action.
340 341 342 343 344 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 340 def initialize(action_proc, prefs) @func = action_proc @action_type = prefs[:action_type] || "undefined" @info = prefs[:info] || "undefined" end |
Instance Attribute Details
#action_type ⇒ Object (readonly)
Returns the value of attribute action_type.
332 333 334 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 332 def action_type @action_type end |
#func ⇒ Object (readonly)
Returns the value of attribute func.
333 334 335 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 333 def func @func end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
334 335 336 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 334 def info @info end |
Instance Method Details
#is_action? ⇒ Boolean
336 337 338 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 336 def is_action? true end |