Class: SaferInitialize::Globals

Inherits:
ActiveSupport::CurrentAttributes
  • Object
show all
Defined in:
lib/safer_initialize/globals.rb

Instance Method Summary collapse

Instance Method Details

#safe?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/safer_initialize/globals.rb', line 7

def safe?
  !!__safe
end