Module: RSpecMagic::Stable::DescribedSym::Exports
- Defined in:
- lib/rspec_magic/stable/described_sym.rb
Instance Method Summary collapse
-
#described_sym ⇒ Symbol
(also: #me)
A
Symbol
representation ofdescribed_class
.
Instance Method Details
#described_sym ⇒ Symbol Also known as: me
A Symbol
representation of described_class
.
24 25 26 |
# File 'lib/rspec_magic/stable/described_sym.rb', line 24 def described_sym Util.underscore(described_class.to_s).to_sym end |