Class: LovelyRufus::Layers::HangoutWrapper

Inherits:
Layer
  • Object
show all
Defined in:
lib/lovely_rufus/layers/hangout_wrapper.rb

Defined Under Namespace

Modules: HangoutFinder

Instance Method Summary collapse

Methods inherited from Layer

#initialize

Constructor Details

This class inherits a constructor from LovelyRufus::Layers::Layer

Instance Method Details

#call(wrap) ⇒ Object



8
9
10
11
12
# File 'lib/lovely_rufus/layers/hangout_wrapper.rb', line 8

def call(wrap)
  @wrap = wrap
  final = hangout_line ? rewrapped : wrap
  next_layer.call(final)
end