Module: GDK::ConfigExample::Stubbed
- Included in:
- GDK::ConfigExample, Settings
- Defined in:
- lib/gdk/config_example.rb
Overview
Module that stubs reading from the environment
Instance Method Summary collapse
Instance Method Details
#find_executable!(_bin) ⇒ Object
10 11 12 |
# File 'lib/gdk/config_example.rb', line 10 def find_executable!(_bin) nil end |
#rand(max = 0) ⇒ Object
14 15 16 17 18 |
# File 'lib/gdk/config_example.rb', line 14 def rand(max = 0) return max.first if max.is_a?(Range) 0 end |
#settings_klass ⇒ Object
20 21 22 |
# File 'lib/gdk/config_example.rb', line 20 def settings_klass ::GDK::ConfigExample::Settings end |