Class: NoraMark::Breakline
Instance Attribute Summary collapse
-
#line_no ⇒ Object
readonly
Returns the value of attribute line_no.
Attributes inherited from Node
#attrs, #body_empty, #classes, #content, #first_child, #holders, #ids, #last_child, #name, #next, #no_tag, #parent, #prev, #raw_content, #raw_text
Instance Method Summary collapse
-
#initialize(line_no) ⇒ Breakline
constructor
A new instance of Breakline.
Methods inherited from Node
#_find_node, #_match?, #_remove_internal, #add_attr, #after, #all_nodes, #ancestors, #append_child, #before, #build_selector, #children, #children=, #children_empty?, #children_replaced, #clone, #each, #find_node, #match?, #modify_selector, #named_params, #named_params=, #params, #params=, #prepend_child, #raw_text?, #rebuild_children, #remove, #remove_following, #reparent, #replace, #text, #unlink, #wrap
Constructor Details
#initialize(line_no) ⇒ Breakline
Returns a new instance of Breakline.
32 33 34 |
# File 'lib/nora_mark/parser.kpeg.rb', line 32 def initialize(line_no) @line_no = line_no end |
Instance Attribute Details
#line_no ⇒ Object (readonly)
Returns the value of attribute line_no.
35 36 37 |
# File 'lib/nora_mark/parser.kpeg.rb', line 35 def line_no @line_no end |