Module: Rfm

Extended by:
Rfm
Included in:
Rfm
Defined in:
lib/rfm.rb,
lib/rfm.rb,
lib/rfm/base.rb,
lib/rfm/error.rb,
lib/rfm/server.rb,
lib/rfm/layout.rb,
lib/rfm/record.rb,
lib/rfm/version.rb,
lib/rfm/database.rb,
lib/rfm/resultset.rb,
lib/rfm/metadata/field.rb,
lib/rfm/metadata/script.rb,
lib/rfm/utilities/config.rb,
lib/rfm/utilities/factory.rb,
lib/rfm/utilities/xml_parser.rb,
lib/rfm/metadata/field_control.rb,
lib/rfm/utilities/compound_query.rb,
lib/rfm/metadata/value_list_item.rb,
lib/rfm/utilities/case_insensitive_hash.rb

Overview

The classes in this module are used internally by RFM and are not intended for outside use.

Defined Under Namespace

Modules: Config, Error, Factory, Metadata, XmlParser Classes: AuthenticationError, Base, CaseInsensitiveHash, CommunicationError, CompoundQuery, Database, Layout, ParameterError, Record, Resultset, Server

Constant Summary

PATH =
File.expand_path(File.dirname(__FILE__))
VERSION_DEFAULT =
'none'
VERSION =
File.read(PATH + '/rfm/VERSION').lines.first.chomp  rescue VERSION_DEFAULT

Instance Method Summary (collapse)

Instance Method Details

- (Object) info



43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/rfm.rb', line 43

def info
   rslt = <<-EEOOFF
     Name: ginjo-rfm
     Version: #{VERSION}
     ActiveSupport Version: #{ActiveSupport::VERSION::STRING}
     ActiveModel Loaded? #{defined?(ActiveModel) ? 'true' : 'false'}
     ActiveModel Loadable? #{begin; require 'active_model'; rescue LoadError; $!; end}
     XML Parser: #{XmlParser.backend}
   EEOOFF
   rslt.gsub!(/^[ \t]*/, '')
 rescue
 	"Could not retrieve info: #{$!}"
end

- (Object) info_short



57
58
59
# File 'lib/rfm.rb', line 57

def info_short
	"Using ginjo-rfm version #{::Rfm::VERSION} with #{XmlParser.backend}"
end