Sha256: f38ce207c7c16283f5abf5899de9279dbf0a550d290015bbef9d84762e98c7ea

Contents?: true

Size: 410 Bytes

Versions: 16

Compression:

Stored size: 410 Bytes

Contents

module Minke
  module Helpers
    class Ruby
     
      def initialize
        load_ruby_files
      end

      def load_ruby_files
        $LOAD_PATH.unshift Dir.pwd
        Dir[File.join(Dir.pwd, "*.rb")].each {|file| require File.basename(file) }
      end

      ##
      # invoke a rake task
      def invoke_task(task, logger)
        Minke::Extension.new(logger).send(task)
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
minke-1.15.0 lib/minke/helpers/ruby.rb
minke-1.14.5 lib/minke/helpers/ruby.rb
minke-1.14.4 lib/minke/helpers/ruby.rb
minke-1.14.3 lib/minke/helpers/ruby.rb
minke-1.14.2 lib/minke/helpers/ruby.rb
minke-1.14.1 lib/minke/helpers/ruby.rb
minke-1.14.0 lib/minke/helpers/ruby.rb
minke-1.13.20 lib/minke/helpers/ruby.rb
minke-1.13.19 lib/minke/helpers/ruby.rb
minke-1.13.18 lib/minke/helpers/ruby.rb
minke-1.13.16 lib/minke/helpers/ruby.rb
minke-1.13.15 lib/minke/helpers/ruby.rb
minke-1.13.14 lib/minke/helpers/ruby.rb
minke-1.13.13 lib/minke/helpers/ruby.rb
minke-1.13.12 lib/minke/helpers/ruby.rb
minke-1.13.11 lib/minke/helpers/ruby.rb