Module: Config

Included in:
Instabot
Defined in:
lib/instabot/config.rb

Defined Under Namespace

Classes: Configuration

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.optionsObject

Returns the value of attribute options.



4
5
6
# File 'lib/instabot/config.rb', line 4

def options
  @options
end

Class Method Details

.setup {|options| ... } ⇒ Object

Yields:



7
8
9
10
# File 'lib/instabot/config.rb', line 7

def self.setup
    self.options ||= Configuration.new
    yield(options)
end