Top Level Namespace

Defined Under Namespace

Modules: Togglify

Instance Method Summary collapse

Instance Method Details

#Togglify(toggle, &block) ⇒ Object



3
4
5
# File 'lib/togglify.rb', line 3

def Togglify(toggle, &block)
  yield if Togglify.enabled? toggle
end