Module: Catchy

Defined in:
lib/catchy.rb,
lib/catchy/version.rb

Defined Under Namespace

Classes: Configuration, MethodChain

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.configurationObject



17
18
19
# File 'lib/catchy.rb', line 17

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



13
14
15
# File 'lib/catchy.rb', line 13

def configure
  yield(configuration)
end

.new(*args) ⇒ Object



9
10
11
# File 'lib/catchy.rb', line 9

def new( *args )
  MethodChain.new( *args )
end