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



261
262
263
# File 'lib/middleman-core/sources.rb', line 261

def proc
  @proc
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



261
262
263
# File 'lib/middleman-core/sources.rb', line 261

def type
  @type
end