Class: Scenic::MySQLAdapter::Views

Inherits:
Object
  • Object
show all
Includes:
Enumerable, TSort
Defined in:
lib/scenic/mysql_adapter/views.rb

Instance Method Summary collapse

Constructor Details

#initialize(views, graph) ⇒ Views

Returns a new instance of Views.



9
10
11
12
# File 'lib/scenic/mysql_adapter/views.rb', line 9

def initialize(views, graph)
  @views = views
  @graph = graph
end

Instance Method Details

#each(&block) ⇒ Object Also known as: tsort_each_node



14
15
16
# File 'lib/scenic/mysql_adapter/views.rb', line 14

def each(&block)
  @views.each(&block)
end