Module: Arturo::SpecialHandling::ClassMethods

Defined in:
lib/arturo/special_handling.rb

Instance Method Summary collapse

Instance Method Details

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



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

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

#blacklistsObject



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

def blacklists
  @blacklists ||= []
end

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



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

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

#whitelistsObject



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

def whitelists
  @whitelists ||= []
end