Sha256: e4466e8c216a5804d499413fade078ac4b000e1ea49c177c43ccdb591e2b06cc
Contents?: true
Size: 519 Bytes
Versions: 18
Compression:
Stored size: 519 Bytes
Contents
require '<%= require_path %>/version' module Pantograph module <%= plugin_name.pantograph_class %> # Return all .rb files inside the "actions" and "helper" directory def self.all_classes Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))] end end end # By default we want to import all available actions and helpers # A plugin can contain any number of actions and plugins Pantograph::<%= plugin_name.pantograph_class %>.all_classes.each do |current| require current end
Version data entries
18 entries across 18 versions & 1 rubygems