Exception: Kindergarten::Perimeter::NoExposedMethods
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Kindergarten::Perimeter::NoExposedMethods
- Defined in:
- lib/kindergarten/exceptions.rb
Instance Method Summary collapse
-
#initialize(perimeter) ⇒ NoExposedMethods
constructor
A new instance of NoExposedMethods.
- #to_s ⇒ Object
Constructor Details
#initialize(perimeter) ⇒ NoExposedMethods
Returns a new instance of NoExposedMethods.
30 31 32 33 |
# File 'lib/kindergarten/exceptions.rb', line 30 def initialize(perimeter) @perimeter = perimeter super end |
Instance Method Details
#to_s ⇒ Object
35 36 37 |
# File 'lib/kindergarten/exceptions.rb', line 35 def to_s "The module #{@perimeter.name} does not expose any methods." end |