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.
318 319 320 321 322 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 318 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.
310 311 312 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 310 def action_type @action_type end |
#func ⇒ Object (readonly)
Returns the value of attribute func.
311 312 313 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 311 def func @func end |
#info ⇒ Object (readonly)
Returns the value of attribute info.
312 313 314 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 312 def info @info end |
Instance Method Details
#is_action? ⇒ Boolean
314 315 316 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 314 def is_action? true end |