Class: Interscript::Visualize::Group
- Inherits:
-
Interscript::Visualize
- Object
- Interscript::Visualize
- Interscript::Visualize::Group
- Defined in:
- lib/interscript/visualize.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#map ⇒ Object
readonly
Returns the value of attribute map.
Instance Method Summary collapse
-
#initialize(map, group, style = nil) ⇒ Group
constructor
A new instance of Group.
- #render_group(map, group, style = nil) ⇒ Object
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
#group ⇒ Object (readonly)
Returns the value of attribute group.
45 46 47 |
# File 'lib/interscript/visualize.rb', line 45 def group @group end |
#map ⇒ Object (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 |