Class: View::Self

Inherits:
Formatter show all
Defined in:
lib/view/formatters/self.rb

Overview

This formatter just returns itself. It doesn't do anything.

Instance Attribute Summary

Attributes inherited from Formatter

#block, #template, #value

Instance Method Summary collapse

Methods inherited from Formatter

#all_options, as, #format!, inherited, #options, skip_blank_formatter, #to_s, type

Instance Method Details

#formatObject



8
9
10
# File 'lib/view/formatters/self.rb', line 8

def format
  value
end