Module: Kernel

Defined in:
lib/syrup/fabric_support.rb

Overview

Support functions added to the kernel for Fabrics to work with

Instance Method Summary collapse

Instance Method Details

#fabric_requirement(name) ⇒ Object

Indicates that a Fabric feature with the given name is required for the application to proceed. If the feature is initialized on demand, then it is expected that this feature will be initialized before this method returns.



6
7
8
# File 'lib/syrup/fabric_support.rb', line 6

def fabric_requirement(name)
  Syrup.fabric_support.require_feature(name)
end