Class: Parser::Source::Map::Heredoc
Instance Attribute Summary collapse
#expression
Instance Method Summary
collapse
#==, #column, #line, #to_hash
Constructor Details
#initialize(begin_l, body_l, end_l) ⇒ Heredoc
Returns a new instance of Heredoc.
8
9
10
11
12
13
|
# File 'lib/parser/source/map/heredoc.rb', line 8
def initialize(begin_l, body_l, end_l)
@heredoc_body = body_l
@heredoc_end = end_l
super(begin_l)
end
|
Instance Attribute Details
#heredoc_body ⇒ Object
5
6
7
|
# File 'lib/parser/source/map/heredoc.rb', line 5
def heredoc_body
@heredoc_body
end
|
#heredoc_end ⇒ Object
6
7
8
|
# File 'lib/parser/source/map/heredoc.rb', line 6
def heredoc_end
@heredoc_end
end
|