lib/rgot/example_parser.rb in rgot-1.2.0 vs lib/rgot/example_parser.rb in rgot-1.3.0
- old
+ new
@@ -2,10 +2,13 @@
require 'ripper'
module Rgot
class ExampleParser < Ripper
+
+ # @dynamic examples, examples=
attr_accessor :examples
+
def initialize(code)
super
@examples = []
@in_def = false
@has_output = false