Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

The project has moved to Hyperstack!! - internal gem used by other hyperloop gems to define config settings

License

Notifications You must be signed in to change notification settings

ruby-hyperloop/hyperloop-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyperloop::Configuration

This gem is used internally by other Hyperloop gems for keeping config settings.

module Hyperloop
  on_config_reset do
    # anything you want to run when initialization begins
  end

  on_config_initialized do
    # anything you want when initialization completes
  end

  define_setting :default_prerendering_mode, :on

  define_setting(:transport, :none) do |transport|
    # value of transport is whatever the user set in the initializer,
    # you do what you want here...
  end

License

The gem is available as open source under the terms of the MIT License.

About

The project has moved to Hyperstack!! - internal gem used by other hyperloop gems to define config settings

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •