Class: Dang::Parser::RuleInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/dang/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



348
349
350
# File 'lib/dang/parser.rb', line 348

def name
  @name
end

#renderedObject (readonly)

Returns the value of attribute rendered.



348
349
350
# File 'lib/dang/parser.rb', line 348

def rendered
  @rendered
end