Module: Config
- Included in:
- Instabot
- Defined in:
- lib/instabot/config.rb
Defined Under Namespace
Classes: Configuration
Class Attribute Summary collapse
-
.options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
Class Attribute Details
.options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/instabot/config.rb', line 4 def @options end |
Class Method Details
.setup {|options| ... } ⇒ Object
7 8 9 10 |
# File 'lib/instabot/config.rb', line 7 def self.setup self. ||= Configuration.new yield() end |