Class: Pot::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/pot/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



13
14
15
16
17
18
# File 'lib/pot/config.rb', line 13

def initialize
  @testing = false
  @verbose = false
  @force = false
  @debug = false
end

Instance Attribute Details

#cloudObject

Returns the value of attribute cloud.



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

def cloud
  @cloud
end

#debugObject

Returns the value of attribute debug.



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

def debug
  @debug
end

#forceObject

Returns the value of attribute force.



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

def force
  @force
end

#testingObject

Returns the value of attribute testing.



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

def testing
  @testing
end

#verboseObject

Returns the value of attribute verbose.



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

def verbose
  @verbose
end

Instance Method Details

#debug?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/pot/config.rb', line 24

def debug?
  @debug
end

#testing?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/pot/config.rb', line 20

def testing?
  @testing
end