Class: Rviz::Mrecord

Inherits:
Record show all
Defined in:
lib/rviz/record.rb

Overview

a convenient way to inherit Record functions

Instance Attribute Summary

Attributes inherited from Node

#name

Instance Method Summary collapse

Methods inherited from Record

#add_row, #get_anchor, #get_anchor_id, #label_with_rows, #to_s

Methods inherited from Node

#shape, #to_s

Methods included from Helper

#attrs_to_s, #quote, #set

Constructor Details

#initialize(name, attrs = {}) ⇒ Mrecord

Returns a new instance of Mrecord.



52
53
54
55
# File 'lib/rviz/record.rb', line 52

def initialize name, attrs = {}
  super name, attrs
  @attrs["shape"] = "Mrecord"
end