Sha256: b5e82aaa00609235ce94aee5eb209aac7d433aa5cb4086f255fb5275551644ee

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

require 'drb'

DRb.start_service()
@serve_instance = DRbObject.new(nil, $drb_uri)

def page(path, &block)
  path = "" if path == "index"
  @current_page = path
  @serve_instance.pages[path] = block
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
benofsky-bolt-0.4.1 lib/bolt/serve_page.rb