Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Defined in:
- lib/wwmd/class_extensions/extensions_nilclass.rb
Overview
I really hate this
Instance Method Summary collapse
- #clop ⇒ Object
-
#empty? ⇒ Boolean
:nodoc:.
- #escape(*args) ⇒ Object
- #get_attribute(*args) ⇒ Object
- #grep(*args) ⇒ Object
- #inner_html ⇒ Object
- #size ⇒ Object
- #to_form ⇒ Object
Instance Method Details
#clop ⇒ Object
6 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 6 def clop; return nil; end |
#empty? ⇒ Boolean
:nodoc:
3 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 3 def empty?; return true; end |
#escape(*args) ⇒ Object
10 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 10 def escape(*args); return nil; end |
#get_attribute(*args) ⇒ Object
8 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 8 def get_attribute(*args); return nil; end |
#grep(*args) ⇒ Object
9 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 9 def grep(*args); return []; end |
#inner_html ⇒ Object
7 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 7 def inner_html; return nil; end |
#size ⇒ Object
4 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 4 def size; return 0; end |
#to_form ⇒ Object
5 |
# File 'lib/wwmd/class_extensions/extensions_nilclass.rb', line 5 def to_form; return FormArray.new([]); end |