Class: Delorean::Ruby::Whitelists::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/delorean/ruby/whitelists/default.rb

Constant Summary collapse

TI_TYPES =
[Time, ActiveSupport::TimeWithZone]
DT_TYPES =
[Date] + TI_TYPES
NUM_OR_STR =
[Numeric, String]
NUM_OR_NIL =
[nil, Integer]

Instance Attribute Summary

Attributes inherited from Base

#matchers

Instance Method Summary collapse

Methods inherited from Base

#add_method, #matcher

Instance Method Details

#initialize_hookObject



12
13
14
# File 'lib/delorean/ruby/whitelists/default.rb', line 12

def initialize_hook
  _add_default_methods
end