Module: ATT::Config
- Defined in:
- lib/popup/popup.rb
Class Method Summary collapse
Class Method Details
.root ⇒ Object
6 7 8 |
# File 'lib/popup/popup.rb', line 6 def root @root || ( raise ATT::RootNotSetError,'please use ATT::Config.root=(path) to set.' ) end |
.timeout ⇒ Object
21 22 23 |
# File 'lib/popup/popup.rb', line 21 def timeout @timeout || 60 end |
.timeout=(timeout) ⇒ Object
16 17 18 |
# File 'lib/popup/popup.rb', line 16 def timeout=(timeout) @timeout = timeout end |