APIdock / RSpec
/
Browse About
method

be_an

1.1.12 - Show latest stable - Class: Spec::Matchers
be_an(klass)
public

Alias for #be_a

Related methods

  • Instance methods
  • be
  • be_a
  • be_an
  • be_close
  • change
  • eql
  • equal
  • exception_from
  • exist
  • fail
  • fail_with
  • has
  • have
  • have_at_least
  • have_at_most
  • have_exactly
  • include
  • map_specs
  • match
  • method_missing
  • raise_error
  • respond_to
  • run_with
  • satisfy
  • simple_matcher
  • smart_match
  • throw_symbol
  • with_ruby
  • wrap_expectation
  • Class methods
  • clear_generated_description
  • generated_description
  • last_matcher
  • last_matcher=
  • last_should
  • last_should=
  • Private methods
  • privatelast_description
  • privatepredicate
APIdock API Documentation Browser

Swarmia is the best SPACE framework implementation for modern software teams.

© 2026 APIdock