[BioRuby-cvs] bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby bioruby_generator.rb, NONE, 1.1

Katayama Toshiaki k at dev.open-bio.org
Sun Dec 24 08:27:17 UTC 2006


Update of /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby
In directory dev.open-bio.org:/tmp/cvs-serv9279

Added Files:
	bioruby_generator.rb 
Log Message:
* Rails generator for BioRuby shell on Rails


--- NEW FILE: bioruby_generator.rb ---
class BiorubyGenerator < Rails::Generator::Base
  def manifest
    record do |m|
      m.directory 'app/controllers'
      m.directory 'app/helpers'
      m.directory 'app/views/bioruby'
      m.directory 'app/views/layouts'
      m.directory 'public/images'
      m.directory 'public/stylesheets'
      m.file 'bioruby_controller.rb', 'app/controllers/bioruby_controller.rb'
      m.file 'bioruby_helper.rb',     'app/helpers/bioruby_helper.rb'
      m.file '_methods.rhtml',        'app/views/bioruby/_methods.rhtml'
      m.file '_classes.rhtml',        'app/views/bioruby/_classes.rhtml'
      m.file '_modules.rhtml',        'app/views/bioruby/_modules.rhtml'
      m.file '_result.rhtml',         'app/views/bioruby/_result.rhtml'
      m.file '_variables.rhtml',      'app/views/bioruby/_variables.rhtml'
      m.file 'commands.rhtml',        'app/views/bioruby/commands.rhtml'
      m.file 'history.rhtml',         'app/views/bioruby/history.rhtml'
      m.file 'index.rhtml',           'app/views/bioruby/index.rhtml'
      m.file 'bioruby.rhtml',         'app/views/layouts/bioruby.rhtml'
      m.file 'bioruby.png',           'public/images/bioruby.png'
      m.file 'bioruby.css',           'public/stylesheets/bioruby.css'
    end
  end
end





More information about the bioruby-cvs mailing list