Class: RSpec::ComplianceTable::Configuration
- Inherits:
-
Object
- Object
- RSpec::ComplianceTable::Configuration
- Includes:
- Singleton
- Defined in:
- lib/rspec/compliance_table/configuration.rb
Instance Method Summary collapse
Instance Method Details
#actions_for(described_class) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/rspec/compliance_table/configuration.rb', line 15 def actions_for(described_class) return described_class.instance_methods(false) if @whitelist.nil? return described_class.instance_methods(false) if @whitelist[:match_actions_from].nil? described_class.const_get(@whitelist[:match_actions_from]) end |
#whitelist(options = {}) ⇒ Object
11 12 13 |
# File 'lib/rspec/compliance_table/configuration.rb', line 11 def whitelist( = {}) @whitelist ||= end |