Sha256: f147e13683d024b22ea586e3f7f5cc747bec2ffd531e4bacaa940ebcec822d35
Contents?: true
Size: 730 Bytes
Versions: 12
Compression:
Stored size: 730 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
12 entries across 9 versions & 4 rubygems