Module: Layout

Included in:
Flat::File
Defined in:
lib/flat/layout.rb

Overview

Layout

EXPERIMENTAL

If a flat file contains several different record structures, defining more than one Layout::Definition allows Flat::File to easily process the file.

EXPERIMENTAL

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Definition

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object

> module InstanceMethods



17
18
19
20
# File 'lib/flat/layout.rb', line 17

def self.included receiver #:nodoc:
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end