Class: Grape::Util::Lazy::Base
- Inherits:
-
Object
- Object
- Grape::Util::Lazy::Base
- Defined in:
- lib/grape/util/lazy/base.rb
Overview
Abstract parent for lazy wrappers used by the remount/configuration machinery. Call sites can type-check with is_a?(Grape::Util::Lazy::Base) instead of enumerating the concrete subclasses.
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/grape/util/lazy/base.rb', line 10 def to_s evaluate.to_s end |