Sha256: 6cd6297472da93627f45d59c5c22c751884ee485ab3096a20bd3901d10c7f259
Contents?: true
Size: 616 Bytes
Versions: 20
Compression:
Stored size: 616 Bytes
Contents
require 'omf-web/tabbed_server' require 'omf-web/widget/code' # Add scripts # OMF::Web::Widget::Code.addCode('Main', :file => "#{File.dirname(__FILE__)}/code_server.rb") # Configure the web server # opts = { :sslNOT => { :cert_chain_file => "#{File.dirname(__FILE__)}/debug/server_chain.crt", :private_key_file => "#{File.dirname(__FILE__)}/debug/server.key", :verify_peer => false }, :page_title => 'Code Tab Demo', :use_tabs => [:code] # :tabs => { # :foo => {:name => 'Foo', :order => 1, :class => Foo}, # :goo => {:name => 'Goo', :order => 3} # } } OMF::Web.start(opts)
Version data entries
20 entries across 20 versions & 1 rubygems