module Snapshotable
Constants
- VERSION
Public Class Methods
enabled=(value)
click to toggle source
Switches Snapshotable
on or off
# File lib/snapshotable.rb, line 8 def enabled=(value) Snapshotable.config.enabled = value end
enabled?()
click to toggle source
Returns if Snapshotable
is turned on
# File lib/snapshotable.rb, line 13 def enabled? Snapshotable.config.enabled.present? end