class Nanoc::Core::ChangesStream::ChangesListener

Public Class Methods

new(y) click to toggle source
# File lib/nanoc/core/changes_stream.rb, line 7
def initialize(y)
  @y = y
end

Public Instance Methods

lib() click to toggle source
# File lib/nanoc/core/changes_stream.rb, line 15
def lib
  @y << :lib
end
to_stop(&block) click to toggle source
# File lib/nanoc/core/changes_stream.rb, line 19
def to_stop(&block)
  if block_given?
    @to_stop = block
  else
    @to_stop
  end
end
unknown() click to toggle source
# File lib/nanoc/core/changes_stream.rb, line 11
def unknown
  @y << :unknown
end