resolve_for

resolve_for(needed, specs) Instance Public methods The meat of the algorithm. Given needed DependencyRequest objects and specs being a list to ActivationRequest, calculate a new list of ActivationRequest objects.

new

new(path = nil, type = nil) Class Public methods Creates a new Store of type that will load or save to path

validates_associated

validates_associated(*attr_names) Instance Public methods Validates whether the associated object or objects are all valid. Works with any kind of association. class Book < ActiveRecord::Base has_many :pages belongs_to :library validates_associated :pages, :library end WARNING: This validation must not be used on both ends of an association. Doing so will lead to a circular dependency and cause infinite recursion. NOTE: This validation will not fail if the association ha

supports_explain?

supports_explain?() Instance Public methods

foreach_proc_entry

foreach_proc_entry() Instance Public methods

recvfrom

ipsocket.recvfrom(maxlen) => [mesg, ipaddr]ipsocket.recvfrom(maxlen, flags) => [mesg, ipaddr] Instance Public methods Receives a message and return the message as a string and an address which the message come from. maxlen is the maximum number of bytes to receive. flags should be a bitwise OR of Socket::MSG_* constants. ipaddr is same as IPSocket#{peeraddr,addr}. u1 = UDPSocket.new u1.bind("127.0.0.1", 4913) u2 = UDPSocket.new u2.send "uuuu", 0, "127.0.0.1", 4913 p u

inquiry

inquiry() Instance Public methods Wraps the current string in the ActiveSupport::StringInquirer class, which gives you a prettier way to test for equality. env = 'production'.inquiry env.production? # => true env.development? # => false

column_cget

column_cget(tagOrId, option) Instance Public methods Alias for: columncget

bind_at_call

bind_at_call(&block) Instance Public methods

parse_signature

parse_signature(signature, tymap=nil) Instance Public methods Parses a C prototype signature If Hash tymap is provided, the return value and the arguments from the signature are expected to be keys, and the value will be the C type to be looked up. Example: include Fiddle::CParser #=> Object parse_signature('double sum(double, double)') #=> ["sum", Fiddle::TYPE_DOUBLE, [Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]]