Method: MiniObject::Lazy#inspect
- Defined in:
- lib/mini_object/lazy.rb
#inspect ⇒ Object Also known as: to_s
34 35 36 37 38 |
# File 'lib/mini_object/lazy.rb', line 34 def inspect prefix = lazy_name ? "#{lazy_name}: " : "" steps = " " + build_steps.keys.join(", ") if build_steps.any? "< #{prefix}Lazy(#{formatted_block_source}#{steps}) >" end |