Sha256: 6ef12d15d2b60a0b50d310df7359d51ca73460eb0ea6013ebff68ee89884d830
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
# Ruby-Processing is for Code Art. # Send suggestions, ideas, and hate-mail to jashkenas [at] gmail.com # Also, send samples and libraries. unless defined? RP5_ROOT $LOAD_PATH << File.expand_path(File.dirname(__FILE__)) RP5_ROOT = File.expand_path(File.dirname(__FILE__) + "/../") end SKETCH_ROOT = Dir.pwd unless defined? SKETCH_ROOT require 'ruby-processing/helpers/string' require 'ruby-processing/helpers/numeric' # The top-level namespace, a home for all Ruby-Processing classes. module Processing VERSION = [1,0,7] unless defined? Processing::VERSION # Returns the current version of Ruby-Processing. def self.version VERSION.join('.') end # Are we online -- inside an applet? def self.online? @online ||= defined?(JRUBY_APPLET) end # Are we embedded -- inside the Processing IDE? def self.embedded? @embedded ||= defined?(RP5_EMBEDDED) end # Autoload a number of constants that we may end up using. autoload :App, 'ruby-processing/app' autoload :Runner, 'ruby-processing/runner' autoload :Watcher, 'ruby-processing/runners/watch' autoload :Creator, 'ruby-processing/exporters/creator' autoload :BaseExporter, 'ruby-processing/exporters/base_exporter' autoload :AppletExporter, 'ruby-processing/exporters/applet_exporter' autoload :ApplicationExporter, 'ruby-processing/exporters/application_exporter' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-processing-1.0.7 | lib/ruby-processing.rb |