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 Attribute Summary

Attributes inherited from Datum

#column_name, #options

Instance Method Summary collapse

Methods inherited from Datum

#initialize, #macro?, #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

#to_sObject



402
403
404
# File 'lib/table_fu.rb', line 402

def to_s
  @datum
end