Module: Enumerize::Integrations::RSpec

Included in:
RSpec::Matchers
Defined in:
lib/enumerize/integrations/rspec.rb,
lib/enumerize/integrations/rspec/matcher.rb

Defined Under Namespace

Classes: Matcher

Instance Method Summary collapse

Instance Method Details

#enumerize(attr) ⇒ Object


8
9
10
# File 'lib/enumerize/integrations/rspec.rb', line 8

def enumerize(attr)
  ::Enumerize::Integrations::RSpec::Matcher.new(attr)
end