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

Version Path
dragonfly-0.6.2 irbrc.rb
dragonfly-0.6.1 irbrc.rb
dragonfly-0.6.0 irbrc.rb
dragonfly-0.5.7 irbrc.rb
dragonfly-0.5.6 irbrc.rb
dragonfly-0.5.5 irbrc.rb
dragonfly-0.5.4 irbrc.rb
dragonfly-0.5.3 irbrc.rb
dragonfly-0.5.2 irbrc.rb
dragonfly-0.5.1 irbrc.rb
dragonfly-0.5.0 irbrc.rb
dragonfly-0.4.4 irbrc.rb
dragonfly-0.4.3 irbrc.rb
dragonfly-0.4.2 irbrc.rb
dragonfly-0.4.1 irbrc.rb
dragonfly-0.4.0 irbrc.rb
dragonfly-0.3.8 irbrc.rb
dragonfly-0.3.7 irbrc.rb
dragonfly-0.3.6 irbrc.rb
dragonfly-0.3.5 irbrc.rb