Module: Crossbeam::Output

Defined in:
lib/crossbeam/output.rb

Overview

For forcing specific output after ‘#call`

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ void

This method returns an undefined value.

Used to include/extend modules into the current class

Parameters:

  • base (Object)


12
13
14
15
16
17
18
# File 'lib/crossbeam/output.rb', line 12

def self.included(base)
  base.class_eval do
    extend(ClassMethods)

    attr_accessor :output_param
  end
end