Results for: "gsub"

No documentation available

Restricts this gem dependencies file to the given ruby version.

You may also provide engine: and engine_version: options to restrict this gem dependencies file to a particular ruby engine and its engine version. This matching is performed by using the RUBY_ENGINE and engine_specific VERSION constants. (For JRuby, JRUBY_VERSION).

No documentation available

return the tag_names for setters associated with uri

Arguments used when building gems

No documentation available
No documentation available
No documentation available
No documentation available

Ensure that the dependency is satisfied by the current installation of gem. If it is not an exception is raised.

spec

Gem::Specification

dependency

Gem::Dependency

Adds a checksum for each entry in the gem to checksums.yaml.gz.

Reads and loads checksums.yaml.gz from the tar file gem

No documentation available
No documentation available

Returns a Gem::StubSpecification for installed gem named name

Returns the build_args used to install the gem

Return a string containing a Ruby code representation of the given object.

Returns a Ruby code representation of this specification, such that it can be eval’ed and reconstruct the same specification later. Attributes that still have their default values are omitted.

No documentation available

Consumes size bytes from the buffer

No documentation available
No documentation available

Returns a list of the public instance methods defined in mod. If the optional parameter is false, the methods of any ancestors are not included.

Similar to instance_method, searches public method only.

Returns true if the named public method is defined by mod (or its included modules and, if mod is a class, its ancestors). String arguments are converted to symbols.

module A
  def method1()  end
end
class B
  protected
  def method2()  end
end
class C < B
  include A
  def method3()  end
end

A.method_defined? :method1           #=> true
C.public_method_defined? "method1"   #=> true
C.public_method_defined? "method2"   #=> false
C.method_defined? "method2"          #=> true
Search took: 1ms  ·  Total Results: 269