Module: CmpFS

Defined in:
lib/cmpfs.rb,
lib/cmpfs/compare.rb,
lib/cmpfs/version.rb,
lib/cmpfs/compare/api_2.rb,
lib/cmpfs/compare/api_1_9.rb,
lib/cmpfs/compare/text/internal_.rb,
lib/cmpfs/compare/binary/internal_.rb

Overview

Root module for cmpfs

Defined Under Namespace

Modules: Compare

Constant Summary collapse

VERSION =

Current version of the cmpfs.Ruby library

'0.2.1.2'
VERSION_MAJOR =

Major version of the cmpfs.Ruby library

VERSION_PARTS_[0]
VERSION_MINOR =

Minor version of the cmpfs.Ruby library

VERSION_PARTS_[1]
VERSION_PATCH =

Revision version of the cmpfs.Ruby library

VERSION_PARTS_[2]
VERSION_REVISION =

:nodoc:

VERSION_PATCH

Class Method Summary collapse

Class Method Details

.extended(receiver) ⇒ Object



57
58
59
60
61
62
63
64
65
# File 'lib/cmpfs.rb', line 57

def self.extended receiver

  receiver.class_eval do

    extend CmpFS::Compare
  end

  $stderr.puts "#{receiver} extended by #{CmpFS}" if $DEBUG
end

.included(receiver) ⇒ Object



67
68
69
70
71
72
73
74
75
# File 'lib/cmpfs.rb', line 67

def self.included receiver

  receiver.class_eval do

    include CmpFS::Compare
  end

  $stderr.puts "#{receiver} included #{CmpFS}" if $DEBUG
end