Class: Hound::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



13
14
15
16
# File 'lib/hound/config.rb', line 13

def initialize
  @actions = %w'create update destroy'
  @limit = nil
end

Instance Attribute Details

#actionsObject

An Array of actions Hound should track.



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

def actions
  @actions
end

#limitObject

Limit actions on a global basis.



11
12
13
# File 'lib/hound/config.rb', line 11

def limit
  @limit
end