Module: RSpec::Sugar::Matchers

Defined in:
lib/sugar-high/rspec/matchers/have_aliases.rb

Defined Under Namespace

Classes: HaveAliases

Instance Method Summary collapse

Instance Method Details

#have_aliases(method, *alias_methods) ⇒ Object



47
48
49
# File 'lib/sugar-high/rspec/matchers/have_aliases.rb', line 47

def have_aliases method, *alias_methods
  HaveAliases.new method, *alias_methods
end