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


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

def proc
  @proc
end

#typeObject

Returns the value of attribute type


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

def type
  @type
end