Class: C

Inherits:
Object show all
Defined in:
lib/redshift/util/modular.rb

Overview

think: Component

Direct Known Subclasses

D

Class Method Summary collapse

Class Method Details

.foo(x) ⇒ Object

think #state, #flow, or #transition



32
33
34
35
# File 'lib/redshift/util/modular.rb', line 32

def self.foo x # think #state, #flow, or #transition
  p x
  yield if block_given?
end