Class: Middleman::Sources::CallbackDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/middleman-core/sources.rb

Overview

A callback requires a type and the proc to execute.

Instance Attribute Summary collapse

Instance Attribute Details

#procObject

Returns the value of attribute proc

Returns:

  • (Object)

    the current value of proc



263
264
265
# File 'lib/middleman-core/sources.rb', line 263

def proc
  @proc
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



263
264
265
# File 'lib/middleman-core/sources.rb', line 263

def type
  @type
end