Sha256: 6211d85866731a84f48a46d8526d2d4f95677c7d0356e763ab16aa1cca5172ae

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

module Webruby
  class App
    class << self
      def config
        @config ||= Webruby::Config.new
      end

      def setup(&block)
        block.call(config)

        # load rake tasks
        require 'rake'
        Dir.glob("#{CURRENT_DIR}/webruby/rake/*.rake") { |f| load f; }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
webruby-0.9.3 lib/webruby/app.rb
webruby-0.9.2 lib/webruby/app.rb
webruby-0.9.1 lib/webruby/app.rb
webruby-0.2.7 lib/webruby/app.rb