Module: EasyInstaller::ValidatorHelper
- Defined in:
- lib/easy_installer/validator.rb
Overview
:nodoc:
Defined Under Namespace
Modules: EvalInstanceMethods, IncludedCode
Instance Attribute Summary collapse
-
#validator ⇒ Object
Returns the value of attribute validator.
Class Method Summary collapse
Instance Attribute Details
#validator ⇒ Object
Returns the value of attribute validator.
8 9 10 |
# File 'lib/easy_installer/validator.rb', line 8 def validator @validator end |
Class Method Details
.aftercode ⇒ Object
26 27 28 |
# File 'lib/easy_installer/validator.rb', line 26 def self.aftercode "" end |
.beforecode ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/easy_installer/validator.rb', line 14 def self.beforecode "check = (params, code) -> @code = code @input = params['for'] @input_ready = params['then'] || input result.push { code: @code input: @input input_ready: @input_ready } " end |