Class: RubyPipe
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/rest_debug/pipes.rb', line 3 def code @code end |
Instance Method Details
#end_code ⇒ Object
4 5 6 |
# File 'lib/rest_debug/pipes.rb', line 4 def end_code "print '<<DONE>>'" end |
#full_code ⇒ Object
7 8 9 |
# File 'lib/rest_debug/pipes.rb', line 7 def full_code "#{code}\n#{end_code}" end |