Guest User

Untitled

a guest
Jul 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. module TextRecord
  2. def self.configuration
  3. @@configuration ||= TextRecord::Configuration.new
  4. end
  5.  
  6. def self.configure(config=TextRecord.configuration)
  7. yield config if block_given?
  8. @@configuration = config
  9. end
  10.  
  11. class Configuration
  12. attr_accessor :content_path
  13. end
  14. end
Add Comment
Please, Sign In to add comment