Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / logstash   deb

Repository URL to install this package:

/ opt / logstash / vendor / bundle / jruby / 1.9 / gems / extlib-0.9.16 / lib / extlib / symbol.rb

class Symbol

  def try_dup
    self
  end

  ##
  # Join with _o_ as a file path
  #
  #   :merb/"core_ext"              #=> "merb/core_ext"
  #   :merb / :core_ext / :string   #=> "merb/core_ext/string"
  #
  # @param [#to_s] o The path component(s) to append.
  #
  # @return [String] The receiver (as path string), concatenated with _o_.
  #
  # @api public
  def /(o)
    File.join(self.to_s, o.to_s)
  end
end