Sha256: 525c62af36eaf250d6ec3344cfc0d4c3cea0b4a6347a18b5e2e9affe99b24316

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

require 'drb'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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