Class: Hangry::RecipeParser::NullObject
- Inherits:
-
Object
- Object
- Hangry::RecipeParser::NullObject
show all
- Defined in:
- lib/hangry/recipe_parser.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
39
40
41
|
# File 'lib/hangry/recipe_parser.rb', line 39
def method_missing(*args, &block)
self
end
|
Instance Method Details
#blank? ⇒ Boolean
42
|
# File 'lib/hangry/recipe_parser.rb', line 42
def blank?; true; end
|
#present? ⇒ Boolean
43
|
# File 'lib/hangry/recipe_parser.rb', line 43
def present?; false; end
|
#to_a ⇒ Object
44
|
# File 'lib/hangry/recipe_parser.rb', line 44
def to_a; []; end
|
#to_ary ⇒ Object
45
|
# File 'lib/hangry/recipe_parser.rb', line 45
def to_ary; []; end
|
#to_f ⇒ Object
48
|
# File 'lib/hangry/recipe_parser.rb', line 48
def to_f; 0.0; end
|
#to_i ⇒ Object
49
|
# File 'lib/hangry/recipe_parser.rb', line 49
def to_i; 0; end
|
#to_s ⇒ Object
46
|
# File 'lib/hangry/recipe_parser.rb', line 46
def to_s; ""; end
|
#to_str ⇒ Object
47
|
# File 'lib/hangry/recipe_parser.rb', line 47
def to_str; ""; end
|