Sha256: cb6ad95bb6f634edc82e043379b089139ee8f7a74f99936671713a5d1bad9887
Contents?: true
Size: 759 Bytes
Versions: 6
Compression:
Stored size: 759 Bytes
Contents
# # The setup block will install gems before launching the # rest of the app below it. # Shoes.setup do gem 'bluecloth =2.0.6' gem 'metaid' end require 'bluecloth' require 'metaid' Shoes.app :width => 300, :height => 400, :resizable => false do background "#eed" stack :margin => 40 do tagline "Loaded Gems:", :align => "center", :underline => "single" Gem.loaded_specs.each do |name, spec| para "#{name}\n#{spec.version}", :align => "center" end caption "Total Gems: #{Gem.source_index.length}", :align => "center", :margin_bottom => 0 para "(includes unloaded gems)", :align => "center", :margin_top => 0 button "OK", :bottom => 30, :left => 0.4 do self.close end end end
Version data entries
6 entries across 6 versions & 1 rubygems