Class Symbol
In: lib/extlib/symbol.rb
Parent: Object
Symbol dot/f_27.png

Methods

/   try_dup  

Public Instance methods

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

[Source]

    # File lib/extlib/symbol.rb, line 18
18:   def /(o)
19:     File.join(self.to_s, o.to_s)
20:   end

[Source]

   # File lib/extlib/symbol.rb, line 3
3:   def try_dup
4:     self
5:   end

[Validate]