Sha256: 6a48a7f124915fef0ab034a2a0d9581628b44954aef82aa76c8a89bf2514e956

Contents?: true

Size: 315 Bytes

Versions: 21

Compression:

Stored size: 315 Bytes

Contents

# Run all examples, one after the other
require_relative 'helpers/example_window'


examples = Dir.glob(File.join(File.dirname(__FILE__), "*.rb")) - [__FILE__]
examples.each_with_index do |file_name, index|
  ENV['FIDGIT_EXAMPLES_TEXT'] = "[#{index + 1} of #{examples.size + 1}]"
  `ruby #{file_name}`
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fidgit-0.2.4 examples/_all_examples.rb
fidgit-0.2.3 examples/_all_examples.rb
fidgit-0.2.2 examples/_all_examples.rb
fidgit-0.2.1 examples/_all_examples.rb
fidgit-0.2.0 examples/_all_examples.rb
fidgit-0.1.10 examples/_all_examples.rb
fidgit-0.1.9 examples/_all_examples.rb
fidgit-0.1.8 examples/_all_examples.rb
fidgit-0.1.7 examples/_all_examples.rb
fidgit-0.1.6 examples/_all_examples.rb
fidgit-0.1.5 examples/_all_examples.rb
fidgit-0.1.4 examples/_all_examples.rb
fidgit-0.1.3 examples/_all_examples.rb
fidgit-0.1.2 examples/_all_examples.rb
fidgit-0.1.1 examples/_all_examples.rb
fidgit-0.1.0 examples/_all_examples.rb
fidgit-0.0.6alpha examples/_all_examples.rb
fidgit-0.0.5alpha examples/_all_examples.rb
fidgit-0.0.4alpha examples/_all_examples.rb
fidgit-0.0.3alpha examples/_all_examples.rb