Created
          October 7, 2008 21:22 
        
      - 
      
 - 
        
Save markbates/15392 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require 'rubygems' | |
| require 'configatron' | |
| class Hello | |
| def self.say_hi | |
| configatron.hello | |
| end | |
| end | |
| configatron.hello = 'Hi Bernerd' | |
| puts Hello.say_hi | |
| configatron.temp do | |
| configatron.hello = 'Hi Bernerd @ Wieck' | |
| puts Hello.say_hi | |
| end | |
| puts Hello.say_hi | |
| #### | |
| Hi Bernerd | |
| Hi Bernerd @ Wieck | |
| Hi Bernerd | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment