Class: Interscript::Visualize::Group

Inherits:
Interscript::Visualize show all
Defined in:
lib/interscript/visualize.rb

Direct Known Subclasses

Stage

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Interscript::Visualize

call, def_template, #get_binding

Constructor Details

#initialize(map, group, style = nil) ⇒ Group

Returns a new instance of Group.



39
40
41
42
43
# File 'lib/interscript/visualize.rb', line 39

def initialize(map, group, style=nil)
  @map = map
  @group = group
  @style = style
end

Instance Attribute Details

#groupObject (readonly)

Returns the value of attribute group.



45
46
47
# File 'lib/interscript/visualize.rb', line 45

def group
  @group
end

#mapObject (readonly)

Returns the value of attribute map.



45
46
47
# File 'lib/interscript/visualize.rb', line 45

def map
  @map
end

Instance Method Details

#render_group(map, group, style = nil) ⇒ Object



47
48
49
# File 'lib/interscript/visualize.rb', line 47

def render_group(map, group, style=nil)
  Group.(map, group, style)
end