Class: Build::URI::Relative
- Inherits:
-
Struct
- Object
- Struct
- Build::URI::Relative
show all
- Includes:
- Base
- Defined in:
- lib/build/uri/relative.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Base
#+, #basename, #dirname, #merge
Instance Attribute Details
#path ⇒ Object
Also known as:
to_s
Returns the value of attribute path
23
24
25
|
# File 'lib/build/uri/relative.rb', line 23
def path
@path
end
|
Instance Method Details
#absolute? ⇒ Boolean
26
27
28
|
# File 'lib/build/uri/relative.rb', line 26
def absolute?
false
end
|
#local? ⇒ Boolean
30
31
32
|
# File 'lib/build/uri/relative.rb', line 30
def local?
true
end
|
#to_path ⇒ Object
36
37
38
39
|
# File 'lib/build/uri/relative.rb', line 36
def to_path
@path
end
|