Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Defined in:
- lib/ext/nil.rb
Instance Method Summary collapse
- #[](param) ⇒ Object
- #children ⇒ Object
- #css(selector) ⇒ Object
- #each ⇒ Object
- #first ⇒ Object
- #next ⇒ Object
- #text ⇒ Object
Instance Method Details
#[](param) ⇒ Object
3 4 5 |
# File 'lib/ext/nil.rb', line 3 def [] param nil end |
#children ⇒ Object
19 20 21 |
# File 'lib/ext/nil.rb', line 19 def children [] end |
#css(selector) ⇒ Object
15 16 17 |
# File 'lib/ext/nil.rb', line 15 def css selector nil end |
#each ⇒ Object
23 24 |
# File 'lib/ext/nil.rb', line 23 def each end |
#first ⇒ Object
11 12 13 |
# File 'lib/ext/nil.rb', line 11 def first nil end |
#next ⇒ Object
26 27 28 |
# File 'lib/ext/nil.rb', line 26 def next nil end |
#text ⇒ Object
7 8 9 |
# File 'lib/ext/nil.rb', line 7 def text "" end |