Module: ActsAsRunnableCode::ClassMethods
- Defined in:
- lib/acts_as_runnable_code.rb
Instance Attribute Summary collapse
-
#runnable_code_options ⇒ Object
Returns the value of attribute runnable_code_options.
Instance Method Summary collapse
Instance Attribute Details
#runnable_code_options ⇒ Object
Returns the value of attribute runnable_code_options.
46 47 48 |
# File 'lib/acts_as_runnable_code.rb', line 46 def end |
Instance Method Details
#runnable_code? ⇒ Boolean
52 53 54 |
# File 'lib/acts_as_runnable_code.rb', line 52 def runnable_code? true end |
#source_code_field ⇒ Object
48 49 50 |
# File 'lib/acts_as_runnable_code.rb', line 48 def source_code_field ([:code_field] || "code").to_sym end |