Unwrapped method_missing from array
This commit is contained in:
parent
4c22beca06
commit
4b9ac2de32
|
@ -8,7 +8,7 @@ module Draper
|
|||
class_attribute :denied, :allowed
|
||||
attr_accessor :source
|
||||
|
||||
DEFAULT_DENIED = Object.new.methods << [:method_missing]
|
||||
DEFAULT_DENIED = Object.new.methods << :method_missing
|
||||
self.denied = DEFAULT_DENIED
|
||||
|
||||
def self.denies(*input_denied)
|
||||
|
|
Loading…
Reference in New Issue