Sha256: 1b2e94a7c04f1082e6a89e1c1da519a8fea1e1d50111a7754986e4bffc05b2c4

Contents?: true

Size: 415 Bytes

Versions: 8

Compression:

Stored size: 415 Bytes

Contents

# Allow examples to be run in-place without requiring a gem install
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../../lib'

require 'rubygems'
require 'rumx'
require './my_bean'
require './my_other_bean'

my_folder = Rumx::Beans::Folder.new
Rumx::Bean.root.bean_add_child(:MyFolder, my_folder)
my_folder.bean_add_child(:MyBean, MyBean.new)
my_folder.bean_add_child(:MyOtherBean, MyOtherBean.new)
run Rumx::Server

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rumx-0.2.3 examples/simple/config.ru
rumx-0.2.2 examples/simple/config.ru
rumx-0.1.5 examples/simple/config.ru
rumx-0.1.4 examples/simple/config.ru
rumx-0.1.3 examples/simple/config.ru
rumx-0.1.2 examples/simple/config.ru
rumx-0.1.1 examples/simple/config.ru
rumx-0.1.0 examples/simple/config.ru