Class: Sofia::Types::Client::Path

Inherits:
Object
  • Object
show all
Defined in:
lib/sofia/types/client/path.rb

Instance Method Summary collapse

Constructor Details

#initialize(path = '/') ⇒ Path

: (?untyped path) -> void



10
11
12
# File 'lib/sofia/types/client/path.rb', line 10

def initialize(path = '/')
  @path = validate_and_normalize(path).freeze #: String
end

Instance Method Details

#to_sObject

: -> String



15
16
17
# File 'lib/sofia/types/client/path.rb', line 15

def to_s
  @path
end