Class: TableFu::Header

Inherits:
Datum
  • Object
show all
Defined in:
lib/table_fu.rb

Overview

A header object needs to be a special kind of Datum, and we may want to extend this further, but currently we just need to ensure that when to_s is called on a @Header@ object that we don’t run it through a macro, or a formatter.

Instance Method Summary

Methods inherited from Datum

#initialize, #macro_value, #method_missing, #value

Constructor Details

This class inherits a constructor from TableFu::Datum

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class TableFu::Datum

Instance Method Details

- (Object) to_s



375
376
377
# File 'lib/table_fu.rb', line 375

def to_s
  @datum
end