Class: Dang::Parser::RuleInfo
- Inherits:
-
Object
- Object
- Dang::Parser::RuleInfo
- Defined in:
- lib/dang/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.
343 344 345 346 |
# File 'lib/dang/parser.rb', line 343 def initialize(name, rendered) @name = name @rendered = rendered end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
348 349 350 |
# File 'lib/dang/parser.rb', line 348 def name @name end |
#rendered ⇒ Object (readonly)
Returns the value of attribute rendered.
348 349 350 |
# File 'lib/dang/parser.rb', line 348 def rendered @rendered end |