Class: Sexp
- Inherits:
-
Object
- Object
- Sexp
- Defined in:
- lib/temill/parser.rb
Instance Attribute Summary collapse
-
#line_range ⇒ Object
Returns the value of attribute line_range.
Instance Method Summary collapse
-
#deep_each_with_self(&block) ⇒ Object
same as deep_each, but pass self first.
Instance Attribute Details
#line_range ⇒ Object
Returns the value of attribute line_range.
130 131 132 |
# File 'lib/temill/parser.rb', line 130 def line_range @line_range end |
Instance Method Details
#deep_each_with_self(&block) ⇒ Object
same as deep_each, but pass self first
133 134 135 136 137 138 |
# File 'lib/temill/parser.rb', line 133 def deep_each_with_self(&block) return enum_for(__method__) unless block block.call(self) deep_each(&block) end |