Sha256: 65afbe6bbc18f3335f32dbf7784cf3044a0f79e9935506cbd7bc88ca73ba8ea4
Contents?: true
Size: 495 Bytes
Versions: 30
Compression:
Stored size: 495 Bytes
Contents
require File.dirname(__FILE__) + '/config' available_uids = `find #{APP.datastore.root_path} ! -type d`.split("\n").map do |file| file.sub("#{APP.datastore.root_path}/", '') end def new_image APP.create_object(File.new(Dir['samples/*'].first)) end puts "Loaded stuff from dragonfly irbrc" puts "\nAvailable uids:\n" puts available_uids puts "\nAvailable sample images:\n" puts Dir['samples/*'] puts "\nAvailable methods:\n" puts "new_image" puts "\nAvailable constants:\n" puts "APP" puts
Version data entries
30 entries across 30 versions & 1 rubygems