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
46
47
48
|
# File 'lib/hangry/recipe_parser.rb', line 46
def method_missing(*args, &block)
self
end
|
Instance Method Details
#blank? ⇒ Boolean
49
|
# File 'lib/hangry/recipe_parser.rb', line 49
def blank?; true; end
|
#present? ⇒ Boolean
50
|
# File 'lib/hangry/recipe_parser.rb', line 50
def present?; false; end
|
#to_a ⇒ Object
51
|
# File 'lib/hangry/recipe_parser.rb', line 51
def to_a; []; end
|
#to_ary ⇒ Object
52
|
# File 'lib/hangry/recipe_parser.rb', line 52
def to_ary; []; end
|
#to_f ⇒ Object
55
|
# File 'lib/hangry/recipe_parser.rb', line 55
def to_f; 0.0; end
|
#to_i ⇒ Object
56
|
# File 'lib/hangry/recipe_parser.rb', line 56
def to_i; 0; end
|
#to_s ⇒ Object
53
|
# File 'lib/hangry/recipe_parser.rb', line 53
def to_s; ""; end
|
#to_str ⇒ Object
54
|
# File 'lib/hangry/recipe_parser.rb', line 54
def to_str; ""; end
|