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

Version Path
omf_web-1.2.9 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.8 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.7 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.6 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.5 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.4 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.3 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.2 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.1 example/NOT_WORKING/code/code_server.rb
omf_web-1.2.0 example/NOT_WORKING/code/code_server.rb
omf_web-1.0.0 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.9 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.8 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.7 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.6 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.5 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.4 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.3 example/NOT_WORKING/code/code_server.rb
omf_web-0.9.1 example/code/code_server.rb
omf_web-0.9 example/code/code_server.rb