Class: Delorean::Ruby::Whitelists::Default
- Defined in:
- lib/delorean/ruby/whitelists/default.rb
Constant Summary collapse
- TI_TYPES =
[Time, ActiveSupport::TimeWithZone].freeze
- DT_TYPES =
[Date] + TI_TYPES
- NUM_OR_STR =
[Numeric, String].freeze
- NUM_OR_NIL =
[nil, Integer].freeze
Instance Attribute Summary
Attributes inherited from Base
#class_method_matchers, #matchers
Instance Method Summary collapse
Methods inherited from Base
#add_class_method, #add_method, #class_method_matcher, #matcher
Instance Method Details
#initialize_hook ⇒ Object
14 15 16 |
# File 'lib/delorean/ruby/whitelists/default.rb', line 14 def initialize_hook _add_default_methods end |