Class: Missing

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

Overview

To allow error handling on the html_objects

Instance Method Summary collapse

Constructor Details

#initialize(return_value) ⇒ Missing

Returns a new instance of Missing.



108
109
110
# File 'lib/helpers.rb', line 108

def initialize(return_value)
  @return_value = return_value
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(args) ⇒ Object



112
113
114
# File 'lib/helpers.rb', line 112

def method_missing(args)
  @return_value
end