Sha256: 495f0b224301e0bfd674b27032e9b16ba1fbc66c0626c3ffc813b0ae9e4530fd

Contents?: true

Size: 1.1 KB

Versions: 83

Compression:

Stored size: 1.1 KB

Contents

# This file is used to boot your plugin when it is running in standalone mode
# from its own workspace - i.e. when the plugin is being developed.
#
# It will not be loaded when the plugin is imported by a 3rd party app - in that
# case only lib/<%= @name %>.rb is loaded.
#
# Therefore this file can be used to load anything extra that you need to boot
# the development environment for this app. For example, this is typically used
# to load some additional test classes to use your plugin APIs so that they can
# be tested and/or interacted with in the console.
require "<%= @name %>"

module <%= @namespace %>Dev
  # Example of how to explicitly require a file
  # require "<%= @name %>_dev/my_file"
    
  # Load all files in the lib/<%= @name %>_dev directory.
  # Note that there is no problem from requiring a file twice (Ruby will ignore
  # the second require), so if you have a file that must be required first, then
  # explicitly require it up above and then let this take care of the rest.
  Dir.glob("#{File.dirname(__FILE__)}/../lib/<%= @name %>_dev/**/*.rb").sort.each do |file|
    require file
  end
end

Version data entries

83 entries across 83 versions & 2 rubygems

Version Path
origen-0.60.19 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.18 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.17 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.16 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.14 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.13 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.12 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.11 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.10 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.9 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.8 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.7 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.6 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.5 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.4 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.3 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.2 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.1 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.60.0 origen_app_generators/templates/app_generators/plugin/config/boot.rb
origen-0.59.8 origen_app_generators/templates/app_generators/plugin/config/boot.rb