Class: CmdParse::RuleInfo

Inherits:
Object
  • Object
show all
Defined in:
app/cmd_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, rendered) ⇒ RuleInfo

Returns a new instance of RuleInfo



260
261
262
263
# File 'app/cmd_parser.rb', line 260

def initialize(name, rendered)
  @name = name
  @rendered = rendered
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name



265
266
267
# File 'app/cmd_parser.rb', line 265

def name
  @name
end

#renderedObject (readonly)

Returns the value of attribute rendered



265
266
267
# File 'app/cmd_parser.rb', line 265

def rendered
  @rendered
end