Class: Middleman::Sources::CallbackDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
middleman-core/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


275
276
277
# File 'middleman-core/lib/middleman-core/sources.rb', line 275

def proc
  @proc
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type


275
276
277
# File 'middleman-core/lib/middleman-core/sources.rb', line 275

def type
  @type
end