Sha256: a7f3a3b4dfb9afbff5f66a5cca916028e64421884379caecf53f53d3987c1137

Contents?: true

Size: 192 Bytes

Versions: 7

Compression:

Stored size: 192 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
webruby-0.2.5 lib/webruby/app.rb
webruby-0.2.4 lib/webruby/app.rb
webruby-0.2.2 lib/webruby/app.rb
webruby-0.2.1 lib/webruby/app.rb
webruby-0.1.2 lib/webruby/app.rb
webruby-0.1.1 lib/webruby/app.rb
webruby-0.1.0 lib/webruby/app.rb