lib/rgot.rb in rgot-0.0.2 vs lib/rgot.rb in rgot-0.0.3
- old
+ new
@@ -1,18 +1,25 @@
module Rgot
- autoload :VERSION, 'rgot/version'
- autoload :Common, 'rgot/common'
- autoload :M, 'rgot/m'
- autoload :T, 'rgot/t'
- autoload :B, 'rgot/b'
+ require 'rgot/version'
+ require 'rgot/common'
+ require 'rgot/m'
+ require 'rgot/t'
+ require 'rgot/b'
+ require 'rgot/example_parser'
class OptionError < StandardError
end
class InternalTest < Struct.new(:module, :name)
end
class InternalBenchmark < Struct.new(:module, :name)
+ end
+
+ class InternalExample < Struct.new(:module, :name)
+ end
+
+ class ExampleOutput < Struct.new(:name, :output)
end
class << self
if "2.0.0" < RUBY_VERSION
def now