Class Gruff::Group
In: lib/gruff/scene.rb
Parent: Object

Methods

new   send_updates  

Included Modules

Observable

Attributes

name  [R] 

Public Class methods

[Source]

# File lib/gruff/scene.rb, line 114
  def initialize(folder_name, layers)
    @name = folder_name
    layers.each do |layer|
      layer.observe self
    end
  end

Public Instance methods

[Source]

# File lib/gruff/scene.rb, line 121
  def send_updates(value)
    changed
    notify_observers value
  end

[Validate]