Class: Consent::Reloader
- Inherits:
-
Object
- Object
- Consent::Reloader
- Defined in:
- lib/consent/reloader.rb
Overview
Rails file reloader to detect permission changes and apply them to consent
Instance Attribute Summary collapse
-
#paths ⇒ Object
readonly
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(default_path) ⇒ Reloader
constructor
A new instance of Reloader.
Constructor Details
#initialize(default_path) ⇒ Reloader
Returns a new instance of Reloader.
11 12 13 |
# File 'lib/consent/reloader.rb', line 11 def initialize(default_path) @paths = [default_path] end |
Instance Attribute Details
#paths ⇒ Object (readonly)
Returns the value of attribute paths.
7 8 9 |
# File 'lib/consent/reloader.rb', line 7 def paths @paths end |