Class: KPeg::FormatParser::RuleInfo
- Inherits:
-
Object
- Object
- KPeg::FormatParser::RuleInfo
- Defined in:
- lib/kpeg/format_parser.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#rendered ⇒ Object
readonly
Returns the value of attribute rendered.
Instance Method Summary collapse
-
#initialize(name, rendered) ⇒ RuleInfo
constructor
A new instance of RuleInfo.
Constructor Details
#initialize(name, rendered) ⇒ RuleInfo
Returns a new instance of RuleInfo.
369 370 371 372 |
# File 'lib/kpeg/format_parser.rb', line 369 def initialize(name, rendered) @name = name @rendered = rendered end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
374 375 376 |
# File 'lib/kpeg/format_parser.rb', line 374 def name @name end |
#rendered ⇒ Object (readonly)
Returns the value of attribute rendered.
374 375 376 |
# File 'lib/kpeg/format_parser.rb', line 374 def rendered @rendered end |