Module: Alf::Predicate::ToProc::ProcMethods
- Defined in:
- lib/alf-predicate/alf/predicate/processors/to_proc.rb
Instance Attribute Summary collapse
-
#source_code ⇒ Object
writeonly
Sets the attribute source_code.
Instance Method Summary collapse
- #to_ruby_literal ⇒ Object (also: #to_s, #inspect)
Instance Attribute Details
#source_code=(value) ⇒ Object (writeonly)
Sets the attribute source_code
6 7 8 |
# File 'lib/alf-predicate/alf/predicate/processors/to_proc.rb', line 6 def source_code=(value) @source_code = value end |
Instance Method Details
#to_ruby_literal ⇒ Object Also known as: to_s, inspect
7 8 9 |
# File 'lib/alf-predicate/alf/predicate/processors/to_proc.rb', line 7 def to_ruby_literal @source_code end |