Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/http_crawler/common/object.rb
Instance Method Summary collapse
Instance Method Details
#jagger_blank(&block) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/http_crawler/common/object.rb', line 2 def jagger_blank(&block) if (self.blank?) nil else if block_given? block.call self else self end end end |