lib/rubypython.rb in rubypython-0.2.8 vs lib/rubypython.rb in rubypython-0.2.9
- old
+ new
@@ -78,11 +78,11 @@
# RubyPython.start
# --Some python code--
# RubyPython.stop
#
# Also see, _stop_
- def self.start() # true||false
+ def self.start() #=> true||false
RubyPythonBridge.start
end
@@ -115,10 +115,10 @@
end
# Simply starts the interpreter, runs the supplied block, and stops the interpreter.
def self.session(&block)
start
- retval=block.call
+ retval = block.call
stop
return retval
end
end