Class: CooCoo::Dot::Block

Inherits:
Object show all
Defined in:
lib/coo-coo/dot.rb

Direct Known Subclasses

Graph

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind, options) ⇒ Block

Returns a new instance of Block.



7
8
9
10
# File 'lib/coo-coo/dot.rb', line 7

def initialize(kind, options)
  @kind = kind
  @options = options
end

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind.



5
6
7
# File 'lib/coo-coo/dot.rb', line 5

def kind
  @kind
end

#optionsObject (readonly)

Returns the value of attribute options.



4
5
6
# File 'lib/coo-coo/dot.rb', line 4

def options
  @options
end