Class: Tableizer::NullObject

Inherits:
Object
  • Object
show all
Defined in:
lib/tableizer/table.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object



5
6
7
# File 'lib/tableizer/table.rb', line 5

def method_missing(*args, &block)
  self
end

Instance Method Details

#nil?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/tableizer/table.rb', line 9

def nil?
  true
end