Class: NoraMark::ParagraphGroup
- Defined in:
- lib/nora_mark/parser.kpeg.rb
Instance Attribute Summary collapse
-
#classes ⇒ Object
readonly
Returns the value of attribute classes.
-
#ids ⇒ Object
readonly
Returns the value of attribute ids.
-
#line_no ⇒ Object
readonly
Returns the value of attribute line_no.
-
#named_params ⇒ Object
readonly
Returns the value of attribute named_params.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#raw_content ⇒ Object
readonly
Returns the value of attribute raw_content.
Attributes inherited from Node
#attrs, #body_empty, #content, #first_child, #holders, #last_child, #name, #next, #no_tag, #parent, #prev, #raw_text
Instance Method Summary collapse
-
#initialize(ids, classes, params, named_params, raw_content, line_no) ⇒ ParagraphGroup
constructor
A new instance of ParagraphGroup.
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=, #params=, #prepend_child, #raw_text?, #rebuild_children, #remove, #remove_following, #reparent, #replace, #text, #unlink, #wrap
Constructor Details
#initialize(ids, classes, params, named_params, raw_content, line_no) ⇒ ParagraphGroup
Returns a new instance of ParagraphGroup.
200 201 202 203 204 205 206 207 |
# File 'lib/nora_mark/parser.kpeg.rb', line 200 def initialize(ids, classes, params, named_params, raw_content, line_no) @ids = ids @classes = classes @params = params @named_params = named_params @raw_content = raw_content @line_no = line_no end |
Instance Attribute Details
#classes ⇒ Object (readonly)
Returns the value of attribute classes.
209 210 211 |
# File 'lib/nora_mark/parser.kpeg.rb', line 209 def classes @classes end |
#ids ⇒ Object (readonly)
Returns the value of attribute ids.
208 209 210 |
# File 'lib/nora_mark/parser.kpeg.rb', line 208 def ids @ids end |
#line_no ⇒ Object (readonly)
Returns the value of attribute line_no.
213 214 215 |
# File 'lib/nora_mark/parser.kpeg.rb', line 213 def line_no @line_no end |
#named_params ⇒ Object (readonly)
Returns the value of attribute named_params.
211 212 213 |
# File 'lib/nora_mark/parser.kpeg.rb', line 211 def named_params @named_params end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
210 211 212 |
# File 'lib/nora_mark/parser.kpeg.rb', line 210 def params @params end |
#raw_content ⇒ Object (readonly)
Returns the value of attribute raw_content.
212 213 214 |
# File 'lib/nora_mark/parser.kpeg.rb', line 212 def raw_content @raw_content end |