Module: Arturo::SpecialHandling::ClassMethods

Defined in:
lib/arturo/special_handling.rb

Instance Method Summary collapse

Instance Method Details

#blacklist(feature_symbol = nil, &block) ⇒ Object


47
48
49
# File 'lib/arturo/special_handling.rb', line 47

def blacklist(feature_symbol = nil, &block)
  blacklists << two_arg_block(feature_symbol, block)
end

#blacklistsObject


39
40
41
# File 'lib/arturo/special_handling.rb', line 39

def blacklists
  @blacklists ||= []
end

#whitelist(feature_symbol = nil, &block) ⇒ Object


43
44
45
# File 'lib/arturo/special_handling.rb', line 43

def whitelist(feature_symbol = nil, &block)
  whitelists << two_arg_block(feature_symbol, block)
end

#whitelistsObject


35
36
37
# File 'lib/arturo/special_handling.rb', line 35

def whitelists
  @whitelists ||= []
end