Class: Redtape::NullAttrWhitelist

Inherits:
Object
  • Object
show all
Defined in:
lib/redtape/attribute_whitelist.rb

Instance Method Summary collapse

Instance Method Details

#allows?(args = {}) ⇒ Boolean

Returns:

  • (Boolean)


50
51
52
# File 'lib/redtape/attribute_whitelist.rb', line 50

def allows?(args = {})
  false
end

#nil?Boolean

Returns:

  • (Boolean)


46
47
48
# File 'lib/redtape/attribute_whitelist.rb', line 46

def nil?
  true
end

#present?Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/redtape/attribute_whitelist.rb', line 42

def present?
  false
end

#top_level_nameObject



38
39
40
# File 'lib/redtape/attribute_whitelist.rb', line 38

def top_level_name
  nil
end